Can not remoVe Sticky Bit

Status
Not open for further replies.

reason

Dabbler
Joined
Feb 19, 2013
Messages
12
Hello and good afternoon.

I have 2 folders which have sticky bits assigned to them (which I did not apply).
I can not remove the sticky bits by using chmod uog-t folder/
The command executes without error but to no avail.

I was configured with CIFS/Active Directory but then disabled the AD Service but still no luck.

Can someone help? I am trying to backup nightly, via rsync, to an external nas but the external can not update the deleted files.

Thanks!
 

reason

Dabbler
Joined
Feb 19, 2013
Messages
12
The commands I asked where not for the sake of curiosity.

My mistake :)

Here is the output of y our commands:

# ls -ldo folder

drwxrwxr-x+ 13 Domain\Domain Admin Domain\domain admins - 512 Dec 21 17:47 backups//

# getfacl backups

# file: backups/
# owner: Domain\Domain Admin
# group: Domain\domain admins
group@:r-x---a-R-c--s:fdi---:allow
group@:------a-R-c--s:------:allow
everyone@:r-x---a-R-c--s:fdi---:allow
everyone@:------a-R-c--s:------:allow
owner@:rwxpDdaARWcCos:fdi---:allow
owner@:----DdaARWcCos:------:allow
owner@:--------------:------:deny
owner@:rwxp---A-W-Co-:------:allow
group@:--------------:------:deny
group@:rwxp----------:------:allow
everyone@:-w-p---A-W-Co-:------:deny
everyone@:r-x---a-R-c--s:------:allow
 

reason

Dabbler
Joined
Feb 19, 2013
Messages
12
My mistake :)

Here is the output of y our commands:

# ls -ldo folder

drwxrwxr-x+ 13 Domain\Domain Admin Domain\domain admins - 512 Dec 21 17:47 backups//

# getfacl backups

# file: backups/
# owner: Domain\Domain Admin
# group: Domain\domain admins
group@:r-x---a-R-c--s:fdi---:allow
group@:------a-R-c--s:------:allow
everyone@:r-x---a-R-c--s:fdi---:allow
everyone@:------a-R-c--s:------:allow
owner@:rwxpDdaARWcCos:fdi---:allow
owner@:----DdaARWcCos:------:allow
owner@:--------------:------:deny
owner@:rwxp---A-W-Co-:------:allow
group@:--------------:------:deny
group@:rwxp----------:------:allow
everyone@:-w-p---A-W-Co-:------:deny
everyone@:r-x---a-R-c--s:------:allow

Thanks that worked for the root folder. I need to apply it recursively and -R or --recursive is not working. Is there a FreeBSD or Unix alternative?
 

reason

Dabbler
Joined
Feb 19, 2013
Messages
12
How do I specify specific files or folders? How do I tell it which folders to recursively set?
 

reason

Dabbler
Joined
Feb 19, 2013
Messages
12
Nevermind. Saw it after I read it again. Thanks for your help. I really appreciate it. But what causes the sticky bit to get applied? Was it the Windows ACL?
 
Status
Not open for further replies.
Top