Hello I have this persistent problem with ACL's. I thought I fixed it 
previously but it continues to rear its head.

I am logged in as user 'home' at the moment which is the user I created during 
install. I have a cifs share called /storage/backup that I share with windows 
and ubuntu machines.

I have done chmod -R A=everyone@:full_set:fd:allow /storage/backup
to set my user ACLs, I was under the impression that this will allow the 
inheritance of said ACL's when new files are created.




Here is the output of ls -lv
h...@data:/storage/backup# ls -lv
total 180
-rwxrwxrwx+ 1 home staff 20480 Aug 20 13:32 resume.doc
0:everyone@:read_data/write_data/append_data/read_xattr/write_xattr
/execute/delete_child/read_attributes/write_attributes/delete
/read_acl/write_acl/write_owner/synchronize:file_inherit
/dir_inherit:allow
-rwxrwxrwx+ 1 home staff 80474 Aug 9 21:20 resume.pdf
0:everyone@:read_data/write_data/append_data/read_xattr/write_xattr
/execute/delete_child/read_attributes/write_attributes/delete
/read_acl/write_acl/write_owner/synchronize:file_inherit
/dir_inherit:allow
-rwxrwxrwx+ 1 home staff 0 Aug 20 13:32 link.txt
0:everyone@:read_data/write_data/append_data/read_xattr/write_xattr
/execute/delete_child/read_attributes/write_attributes/delete
/read_acl/write_acl/write_owner/synchronize:file_inherit
/dir_inherit:allow
drwxrwxrwx+ 5 home staff 5 Aug 9 20:07 Pictures
0:everyone@:list_directory/read_data/add_file/write_data
/add_subdirectory/append_data/read_xattr/write_xattr/execute
/delete_child/read_attributes/write_attributes/delete/read_acl
/write_acl/write_owner/synchronize:file_inherit/dir_inherit:allow




To make that easier to read heres just ls -alh
h...@data:/storage/backup# ls -alh
total 188
drwxrwxrwx+ 3 home staff 6 Aug 20 13:33 .
drwxrwxrwx+ 3 root root 3 Aug 9 20:05 ..
-rwxrwxrwx+ 1 home staff 20K Aug 20 13:32 resume.doc
-rwxrwxrwx+ 1 home staff 79K Aug 9 21:20 resume.pdf
-rwxrwxrwx+ 1 home staff 0 Aug 20 13:32 link.txt
drwxrwxrwx+ 5 home staff 5 Aug 9 20:07 Pictures






Now the very strange part is that I can modify resume.doc and save it. However 
I created a new file called link.txt, which I cannot modify and save. It says 
that I do not have the user priviledges to modify it. I then went into 
openoffice and typed something, went to save as, and pointed to /storage/backup 
and it worked fine.

However once I saved it and did ls -alh I get this:
h...@data:/storage/backup# ls -alh
total 204
drwxrwxrwx+ 3 home staff 6 Aug 20 13:51 .
drwxrwxrwx+ 3 root root 3 Aug 9 20:05 ..
-rwxrwxrwx+ 1 home staff 20K Aug 20 13:32 resume.doc
-rwxrwxrwx+ 1 home staff 79K Aug 9 21:20 resume.pdf
-rw-r--r--+ 1 home staff 7.1K Aug 20 13:51 fish.odt
drwxrwxrwx+ 5 home staff 5 Aug 9 20:07 Pictures


So I can open up and write to fish.odt now, however the user privileges did not 
get inherited for some reason.



So to sum this up. It will not let me right click in the folder /storage/backup 
and create a new text file and write to it. However it will let me do the same 
thing but with a .odt extension. Is this crazy enough for you yet? Also it is 
not automatically inheriting its privileges.

Anyone have any word on how to handle this?
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to