- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sticky bit not getting set
Operating System - HP-UX
1752619
Members
4116
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО02-25-2009 11:58 AM
тАО02-25-2009 11:58 AM
HP-UX B.11.11
tnedd13n:root [/var/spool/lp] chmod 1777 class
tnedd13n:root [/var/spool/lp] chmod 1755 cmodel
tnedd13n:root [/var/spool/lp] chmod 1755 fonts
tnedd13n:root [/var/spool/lp] chmod 1777 info
tnedd13n:root [/var/spool/lp] chmod 1777 interface
tnedd13n:root [/var/spool/lp] chmod 1777 log
tnedd13n:root [/var/spool/lp] chmod 1777 lpana.log
tnedd13n:root [/var/spool/lp] chmod 1644 lpd.log
tnedd13n:root [/var/spool/lp] chmod 1755 member
tnedd13n:root [/var/spool/lp] chmod 1555 model
tnedd13n:root [/var/spool/lp] lpsched -a -v
scheduler is running
tnedd13n:root [/var/spool/lp] lpstat -r
scheduler is not running
tnedd13n:root [/var/spool/lp] ll
total 982
lrwxrwxrwx 1 root sys 14 Feb 17 15:38 Tclass -> /etc/lp/Tclass
lrwxrwxrwx 1 root sys 15 Feb 17 15:38 Tmember -> /etc/lp/Tmember
lrwxr-xr-x 1 root sys 18 Feb 17 15:38 cinterface -> /etc/lp/cinterface
lrwxr-xr-x 1 root sys 13 Feb 17 15:38 class -> /etc/lp/class
lrwxr-xr-x 1 root sys 18 Feb 17 15:38 cmodel -> /usr/lib/lp/cmodel
-rwxr-xr-x 1 lp bin 15 Mar 6 2002 default
lrwxr-xr-x 1 root sys 17 Feb 17 15:38 fonts -> /usr/lib/lp/fonts
lrwxr-xr-x 1 root sys 12 Feb 17 15:38 info -> /etc/lp/info
lrwxr-xr-x 1 root sys 17 Feb 17 15:38 interface -> /etc/lp/interface
lrw-r--r-- 1 root sys 15 Feb 17 15:38 log -> /var/adm/lp/log
lrwxrwxrwx 1 root sys 21 Feb 17 15:38 lpana.log -> /var/adm/lp/lpana.log
lrw-r--r-- 1 root sys 19 Feb 17 15:38 lpd.log -> /var/adm/lp/lpd.log
lrwxr-xr-x 1 root sys 14 Feb 17 15:38 member -> /etc/lp/member
lrwxr-xr-x 1 root sys 17 Feb 17 15:38 model -> /usr/lib/lp/model
-rw-r--r-- 1 lp lp 0 Feb 25 13:50 outputq
-rw-r--r-- 1 lp lp 276696 Mar 6 2002 pstatus
-rw-r--r-- 1 lp lp 68808 Mar 6 2002 qstatus
drwxr-xr-x 2 lp bin 96 Nov 15 2000 receive
drwxr-xr-x 392 lp bin 145408 Feb 17 15:38 request
-rwxr-xr-x 1 lp bin 3 Mar 5 2002 seqfile
lrwxr-xr-x 1 root sys 18 Feb 17 15:38 sinterface -> /etc/lp/sinterface
lrwxr-xr-x 1 root sys 18 Feb 17 15:38 smodel -> /usr/lib/lp/smodel
I have a problem starting the spooler and noticed the sticky bit is missing . But the attempt to set the sticky bit is failing w/o any error.
what can cause this ?
tnedd13n:root [/var/spool/lp] chmod 1777 class
tnedd13n:root [/var/spool/lp] chmod 1755 cmodel
tnedd13n:root [/var/spool/lp] chmod 1755 fonts
tnedd13n:root [/var/spool/lp] chmod 1777 info
tnedd13n:root [/var/spool/lp] chmod 1777 interface
tnedd13n:root [/var/spool/lp] chmod 1777 log
tnedd13n:root [/var/spool/lp] chmod 1777 lpana.log
tnedd13n:root [/var/spool/lp] chmod 1644 lpd.log
tnedd13n:root [/var/spool/lp] chmod 1755 member
tnedd13n:root [/var/spool/lp] chmod 1555 model
tnedd13n:root [/var/spool/lp] lpsched -a -v
scheduler is running
tnedd13n:root [/var/spool/lp] lpstat -r
scheduler is not running
tnedd13n:root [/var/spool/lp] ll
total 982
lrwxrwxrwx 1 root sys 14 Feb 17 15:38 Tclass -> /etc/lp/Tclass
lrwxrwxrwx 1 root sys 15 Feb 17 15:38 Tmember -> /etc/lp/Tmember
lrwxr-xr-x 1 root sys 18 Feb 17 15:38 cinterface -> /etc/lp/cinterface
lrwxr-xr-x 1 root sys 13 Feb 17 15:38 class -> /etc/lp/class
lrwxr-xr-x 1 root sys 18 Feb 17 15:38 cmodel -> /usr/lib/lp/cmodel
-rwxr-xr-x 1 lp bin 15 Mar 6 2002 default
lrwxr-xr-x 1 root sys 17 Feb 17 15:38 fonts -> /usr/lib/lp/fonts
lrwxr-xr-x 1 root sys 12 Feb 17 15:38 info -> /etc/lp/info
lrwxr-xr-x 1 root sys 17 Feb 17 15:38 interface -> /etc/lp/interface
lrw-r--r-- 1 root sys 15 Feb 17 15:38 log -> /var/adm/lp/log
lrwxrwxrwx 1 root sys 21 Feb 17 15:38 lpana.log -> /var/adm/lp/lpana.log
lrw-r--r-- 1 root sys 19 Feb 17 15:38 lpd.log -> /var/adm/lp/lpd.log
lrwxr-xr-x 1 root sys 14 Feb 17 15:38 member -> /etc/lp/member
lrwxr-xr-x 1 root sys 17 Feb 17 15:38 model -> /usr/lib/lp/model
-rw-r--r-- 1 lp lp 0 Feb 25 13:50 outputq
-rw-r--r-- 1 lp lp 276696 Mar 6 2002 pstatus
-rw-r--r-- 1 lp lp 68808 Mar 6 2002 qstatus
drwxr-xr-x 2 lp bin 96 Nov 15 2000 receive
drwxr-xr-x 392 lp bin 145408 Feb 17 15:38 request
-rwxr-xr-x 1 lp bin 3 Mar 5 2002 seqfile
lrwxr-xr-x 1 root sys 18 Feb 17 15:38 sinterface -> /etc/lp/sinterface
lrwxr-xr-x 1 root sys 18 Feb 17 15:38 smodel -> /usr/lib/lp/smodel
I have a problem starting the spooler and noticed the sticky bit is missing . But the attempt to set the sticky bit is failing w/o any error.
what can cause this ?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 12:05 PM
тАО02-25-2009 12:05 PM
Re: sticky bit not getting set
Shalom,
You can't set the sticky bit or change ownership on soft links, only the files they actually point to.
SEP
You can't set the sticky bit or change ownership on soft links, only the files they actually point to.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 12:29 PM
тАО02-25-2009 12:29 PM
Solution
Hi:
The permissions of a symbolic link or the ownership of a link doesn't matter. Its what it points to that counts.
The "t" you see in this case is really a "t"ransition link which shows the phylogeny of the current HP-UX filesystem layout and its transition that occured with the advent of 10.0.
If you want, you can do:
# tlinstall -v
Regards!
...JRF...
The permissions of a symbolic link or the ownership of a link doesn't matter. Its what it points to that counts.
The "t" you see in this case is really a "t"ransition link which shows the phylogeny of the current HP-UX filesystem layout and its transition that occured with the advent of 10.0.
If you want, you can do:
# tlinstall -v
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 12:55 PM
тАО02-25-2009 12:55 PM
Re: sticky bit not getting set
>I have a problem starting the spooler and noticed the sticky bit is missing.
By fiddling with the permissions and using obsolescent octal values, you have removed the SETUID bits. Instead you should have used u+t.
You will probably have to use "swverify -F" on the spooler components to fix them.
By fiddling with the permissions and using obsolescent octal values, you have removed the SETUID bits. Instead you should have used u+t.
You will probably have to use "swverify -F" on the spooler components to fix them.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP