Operating System - HP-UX
1849336 Members
7113 Online
104042 Solutions
New Discussion

Re: directory permissions

 
SOLVED
Go to solution
lawrenzo
Trusted Contributor

directory permissions

Hello,

can anyone tell me how this may have occured on a home directory:

d--------T 2 101185 mktukprj 96 Feb 12 14:49 dwallace.20040712:13

also we are getting an error when checking the quota for this directory

Thanks
hello
5 REPLIES 5
RAC_1
Honored Contributor
Solution

Re: directory permissions

There are perms on this dir.
chown 0000 xx can do this.

T presents -transitional dir

Anil
There is no substitute to HARDWORK
lawrenzo
Trusted Contributor

Re: directory permissions

can you explain a bit more please?

cheers
hello
Sundar_7
Honored Contributor

Re: directory permissions

if you execute the command

chmod 1000 against a directory, the directory will get the above mentioned permissions.

T = sticky bit set for the directory. If the sticky bit is set for the directory then even if the permissions of the directory is 777, users can only remove the files/dirs that they own. They cannot remove the files/dirs that are not owned by them.

Refer the permissions of the /tmp directory.

# ls -ld /tmp

it will have lowercase "t" - the uppercase T in ur case means the execute bit is not set for the directory.

# chmod 750 dwallace.20040712:13



Learn What to do ,How to do and more importantly When to do ?
RAC_1
Honored Contributor

Re: directory permissions

d--------T 2 101185 mktukprj 96 Feb 12 14:49

d-represents it is a dir
first three dashes "---" are perms for user
next three are perms for group and last three are perms for others.

man chmod for details.

T represents that it is transtion link.

In your case there are no perms set on thid dir. No one can access this dir. This may be result of aborted copy of dir etc.

Change the perms to appropriate ones.

Anil
There is no substitute to HARDWORK
lawrenzo
Trusted Contributor

Re: directory permissions

thanks for your help!
hello