Operating System - HP-UX
1851691 Members
7105 Online
104061 Solutions
New Discussion

Re: Question about permissions.

 
SOLVED
Go to solution
Stefano_65
Regular Advisor

Question about permissions.

Hi everybody,
here my question: does exist an official list about filesystem permission. I mean, something like that:

/tmp : 777
/stand: 555

a document from hp, or a detailed list..

thanx everybody

7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: Question about permissions.

Stefano,

I don't know of an official document, but here is a list of an "as-installed" system:

$ getchmod /stand /var /usr /tmp /opt /home
0755 drwxr-xr-x dir root:root /home
0555 dr-xr-xr-x dir bin:bin /opt
0555 dr-xr-xr-x dir bin:bin /stand
0777 drwxrwxrwx dir bin:bin /tmp
0555 dr-xr-xr-x dir bin:bin /usr
0555 dr-xr-xr-x dir bin:bin /var


Pete

Pete
Ajitkumar Rane
Trusted Contributor

Re: Question about permissions.

Stefano,

I dont think there would be a published official list of file system permissions.
but they should be normally 555 for the system related FS and or 755 for user created FS.


Thanks

Ajit
Amidsts difficulties lie opportunities
Stefano_65
Regular Advisor

Re: Question about permissions.

thanks, but I'm looking for an official list, it's a request from customer..

thanx anyway
Stefano_65
Regular Advisor

Re: Question about permissions.

It's ok if that list does not exist, i need beung sure of that..
tnx
Stefano_65
Regular Advisor

Re: Question about permissions.

question number 2:
does exist the same list for system files, like passw or fstab? thanx (again)
Pete Randall
Outstanding Contributor

Re: Question about permissions.

Again - not that I'm aware of. I can show you the permissions as they exist on a freshly installed machine, the way HP sets them by default:

$ getchmod /etc/fstab /etc/passwd
0644 -rw-r--r-- file root:sys /etc/fstab
0444 -r--r--r-- file root:sys /etc/passwd


Pete

Pete
Stefano_65
Regular Advisor

Re: Question about permissions.

ok, thanks everybody!!