- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Permissions on SCHEDLOCK
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 02:24 AM
01-03-2002 02:24 AM
This seems to be a bit of a permissions bug (as lpsched, lpshut should only be run by root anyway!) Does anybody know for certain whether this is designed in, or just sloppy permissions?
thanks
dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 02:53 AM
01-03-2002 02:53 AM
Re: Permissions on SCHEDLOCK
The 666 permission allows all users the ability to lock out a printer whilst they are printing on it - so a rw-rw-rw- is required to allow them to do it.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 02:58 AM
01-03-2002 02:58 AM
SolutionThe schedlock file is created when the lp scheduler is started and removed when the scheduler is stopped. Apparently the permissions are set to 666 by default, irrespective of the umask for root and/or
lp.
fyi perms of 0644 for the owner lp should be sufficent.
Is the permission setting for SCHEDLOCK hard coded in the lpsched(1M) command ?
Yes.
why the permissions do not agree with the
umask ?
This is because umask is also harcoded in lpsched. umask(000);
I don't see this getting fixed immediately but at least you know .......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 03:50 AM
01-03-2002 03:50 AM
Re: Permissions on SCHEDLOCK
I have been corrected
:-(
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 03:59 AM
01-03-2002 03:59 AM
Re: Permissions on SCHEDLOCK
Thanks Alex