Jeff Waddell
2008-Dec-25 21:57 UTC
[zfs-discuss] ZFS filesystem and CIFS permissions issue?
I''m having a permission issue with a ZFS fs over CIFS. I''m new to OpenSolaris, and fairly new to *nix (only real experience being OS X), so any help would be appreciated. Ok, here''s the problem: I have a zfs fs (rpool/storage) with numerous child filesystems (rpool/storage/backup, rpool/storage/software, etc.). My main user, jwaddell:staff, can browse and create folders in any filesystem without any problem when logged into the desktop. However, when I login via CIFS with the same user from a different machine, I can only view/edit files and directories in the rpool/storage fs. All child filesystems appear empty through cifs, and when I try to copy a file or create folders, I get permission denied errors. I have chmod -R 777 on rpool/storage, and chown -R jwaddell on rpool/storage. When running ls -l, permissions seem to be correct (output below), so I can''t figure it out. If I destroy and recreate the child filesystems, the same thing happens. On a possibly related note, when I try to delete a file/directory in one of the child filesystems from the desktop, I get a "Cannot move file to trash, do you want to delete immediately. Unable to trash file: No such file or directory" error," but trashing a file anywhere else on the system (such as my home folder) works fine. Perhaps this is related to whatever permissions issues are going on. Any help would be appreciated! Thanks! jwaddell at opensolaris:/rpool$ ls -l drwxr-xr-x 3 root root 3 2008-12-25 02:44 boot drwxr-xr-x 2 root root 3 2008-12-25 03:00 etc drwxrwxrwx 10 jwaddell staff 24 2008-12-25 13:16 storage jwaddell at opensolaris:/rpool$ ls -l storage drwxrwxrwx 3 jwaddell staff 2 2008-12-25 03:47 backup drwxrwxrwx 3 jwaddell staff 2 2008-12-25 03:47 movies drwxrwxrwx 3 jwaddell staff 2 2008-12-25 01:54 music drwxrwxrwx 3 jwaddell staff 2 2008-12-25 03:48 pictures drwxrwxrwx 3 jwaddell staff 2 2008-12-25 03:48 software drwxrwxrwx 2 jwaddell staff 2 2008-12-25 12:57 test (this is not a fs, and is browsable) jwaddell at opensolaris:/rpool/storage$ ls -l backup (These folders do not show up when browsing via CIFS) drwxrwxrwx 2 jwaddell staff 2 2008-12-25 13:24 Archive drwxrwxrwx 2 jwaddell staff 2 2008-12-25 13:24 Test -- This message posted from opensolaris.org
Matt Harrison
2008-Dec-25 23:06 UTC
[zfs-discuss] ZFS filesystem and CIFS permissions issue?
Jeff Waddell wrote:> I''m having a permission issue with a ZFS fs over CIFS. I''m new to> OpenSolaris, and fairly new to *nix (only real experience being OS > X), so any help would be appreciated. Sounds like you''re falling foul as I did when I started. Child filesystems are not accessible via cifs as child filesystems. If I have tank/backup tank/backup/exodus And share tank/backup via cifs, it will show the exodus folder, but it won''t let you do anything with it. It has been explained better but I''m not in a position to find the reference. For now, you just can''t. To access those child filesystems, you will have to share them individually. It''s a pain, but thats how I have to do it atm. HTH Matt