ACLs can overwrite POSIX if that is what you are asking. Sometimes if your servers are running any kind of directory services and LDAP they will put ACLs in the file system by default, and they will be set by default as what the default settings will most likely be.
I have seen this in OS X and in SuSe Linux, but anything outside of those two I don't have much experience with ACLs.
I wasn't asking anything, actually, but thank you for the clarification
I wasn't asking anything, actually, but thank you for the clarification
ACLs can be a pain, especially when used with nested folders, but when they work they are a great. I did notice that on the newest version of OS X (which I know is it's own version of Unix) has some custom default ACLs "everyone:deny" on certain folders in every user's home directory, by default.
Hi ceubank, would you please be able to explain what does this means interms of the last options colomn? Does rw means that the current user who issue this mount command has rw access to the file system(/apps/z0/log) even the files in there belong to someone else and permissions are say 700 ?
No, it just means the filesystem is mounted as read-write, letting people read and write according to their normal permissions, as opposed to read-only.
Without ACL's, directory permissions are the only thing describing who can and can't delete files. File permissions and ownership are irrelevant. Observe:
---------- Post updated at 10:07 AM ---------- Previous update was at 09:49 AM ----------
I had to do some testing to figure it out, but the sticky bit could help do what you want. It's also known as the restricted-deletion bit. On supported systems&filesystems, inside a directory with it set(with chmod +t), users cannot rename or remove files that don't belong to them. It's often used for /tmp.
(Note that this protection is short-circuited if the user in question actually owns the directory. Have it owned by root or something.)
Last edited by Corona688; 01-12-2010 at 11:56 AM..
Using ACLs, you chould just do:
to allow others to delete a file using ACLs , you can view these permissions with ls -le to see the ACL flags set.. if you have a directory and you want to allow people to delete things in it you would do others allow delete_child.
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Dears
it is normal that the below binaries stay without any owner and group
I have checked it in many servers and the like the below
/usr/lpp/bos.net/inst_root/etc/ipsec# ls -lrt
total 248
-r-xr-xr-x 1 987 987 13589 Jun 29 2005 default_group
-r-xr-xr-x ... (5 Replies)
i need to do the following operations in solaris 10:
1.change owner and group owner for files which are not owned by the current user and user group
2.to can delete files in the /tmp directory which are not of the current user
3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Hi,
Thanks for looking into this.
I am running into below situation in free BSD.
I have a file in /tmp/sample.txt with owner as 'xyz' and group as 'wheel'
I am moving it to my home dir/newsample.txt whihc has owner 'xyz', but group 'someother' with below command, getting warning, but it is... (2 Replies)
Where to look owner's configuration files?
For example: -r-xr-xr-x 1 103 staff 2723 Jun 17 1999 user_init
I need to look owner 103 behavior. (3 Replies)
i have written a script in which i have to go to a dir and search there for files belonging to owner pipe and then delete them
Can anyone tell me how to find files by owner pipe. below some of the files belonging to owner pipe
-rw------- 1 pipe pipe 163840 Mar 18 2008 ... (7 Replies)
Hello,
I have a problem, I need to find files in folder by owner, not using find command at all and ls -R parameter. Thanx a lot.
Best regarts (1 Reply)
Hi,
I need a command to find a files under particular owner ?All the files in the system for the particular user id is the owner?
Please help me on this? (2 Replies)
How to set the name of the group and the owner while creation of the file?
-rwxrwxr-x 1 root sys 1202 Dec 5 2002 abc.awk
like here i need to set the name of root and sys to xxx xxx
Any help is appreciated.
Thanks. (2 Replies)
Hi Folks,
I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error.
For example, when I am logged in as 'webadmin', I have the following file:
... (4 Replies)