Try using chmod A=+- with the full_set/read_set/write_set macros.

For example, instead of
   chmod 740 /zstorage/Pictures/
try
   chmod A=user:user:full_set:allow /zstorage/Pictures
   chmod A+group:software:read_set:allow /zstorage/Pictures

Alan

----- Original Message ----- From: "Mr. Hu Mongous" <[email protected]>
To: <[email protected]>
Sent: Friday, April 10, 2009 8:43 PM
Subject: Re: [cifs-discuss] Fatman In Need Of HELP Part2 - CIFS, Workgroup Environment, Groups....


Well, i've confused myself even more... I though by doing a chmod 740 on the /zstorage/Picture directory i would be able to list the content. From what I remember, all you need is read to list the content of a directory in linux. The chmod through my permissions out of wack and I still can't access that directory.

r...@osbox:~# chmod 740 /zstorage/Pictures/
r...@osbox:~# /usr/bin/ls -vd /zstorage/Pictures/
drwxr-----+  8 user     software       8 Apr 11 20:55 /zstorage/Pictures/
    0:group:software:list_directory/read_data/add_file/write_data
        /read_attributes/write_attributes/read_acl:file_inherit
        /inherit_only:allow
    1:group:software:add_file/write_data:deny
    2:group:software:list_directory/read_data/add_file/write_data
        /read_attributes/write_attributes/read_acl:allow
    3:owner@:read_xattr/write_xattr/delete_child/read_attributes
        /write_attributes/delete/read_acl/write_acl/write_owner
        /synchronize:allow
    4:owner@::deny
    5:owner@:list_directory/read_data/add_file/write_data/add_subdirectory
        /append_data/write_xattr/execute/write_attributes/write_acl
        /write_owner:allow
    6:group@:add_file/write_data/add_subdirectory/append_data/execute:deny
    7:group@:list_directory/read_data:allow
    8:everyone@:list_directory/read_data/add_file/write_data
        /add_subdirectory/append_data/write_xattr/execute/write_attributes
        /write_acl/write_owner:deny
    9:everyone@:read_xattr/read_attributes/read_acl/synchronize:allow

I guess I'll trim the permission above and keep those I find should stay.
--
This message posted from opensolaris.org
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss


_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to