Operating System - Tru64 Unix
1753440 Members
4664 Online
108794 Solutions
New Discussion юеВ

Re: User account directory

 
SOLVED
Go to solution
Paul Stanard
Regular Advisor

User account directory

I want to give everyone access to the following user home directory /usr/users/bwuser
Is there away to do so?
3 REPLIES 3
Michael Schulte zur Sur
Honored Contributor
Solution

Re: User account directory

Hi,

yes.

chmod 777 /usr/users/bwuser
if there are already files, all should have access to, use:
chmod -R 777 /usr/users/bwuser
see man chmod

Michael
Sanjay Kumar Suri
Honored Contributor

Re: User account directory

Some more info:

If read permission for a directory is not set, no file inside the directory can be listed or accessed.

If execute permission for a directory is not set, files inside the directory can be listed with names only. That means ls will work but ls -l will not work. Also no files inside the directory can be read or executed.

If only execute permission is set files can be accessed if the names are known but can't see the files.

Previous post has alread answered changing permission using chmod command and octal values.

#chmod 777 file/dir

Where first 7 = 4 (read) + 2 (write) + 1 (execute) for a user. Similarly for next 7 (group) and next 7 (others).


sks


A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Ravi_8
Honored Contributor

Re: User account directory

Hi

#chmod -R 0777 /usr/users/bwuser

everybody will get access to /usr/users/bwuser
never give up