I have copied some data from a client's home folder to a group work folder accessed by a group in Linux. Other clients can see most of the data except some in a specific folder.
When the new client tries to access the data from a Windows machine, the directories are shown as empty. When the same folder is accessed through Linux using ssh, the client gets a "permission denied" error.
This looks like a permissions issue for the new client, the folder permissions are;
drwxrwsr-x 2 root 4096 Feb 1 11:14
and file permissions are
-rw-rw---- 1 root 11 Feb 1 21:18
-rwxrw-r-- 1 root 1500 Feb 1 21:18
The user trying to access these files and folders is already in the group which has permissions to this work area.
Should I do a
chmod -R 774 /folder_path and then
chown -R (saket):(scannergrp) /folder_path
drwxrwS--- also read the following
http://unix.stackexchange.com/questions/118853/what-does-the-s-attribute-in-file-permissions-mean and http://superuser.com/questions/509114/what-does-directory-permission-s-mean-not-lower-case-but-in-upper-case sudo find /correct/folder/path -type d -exec chmod g+x "{}" ; fixed it for the user. Thank you all – Mr104 Feb 22 '17 at 04:17