LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File's Permission problem (https://www.linuxquestions.org/questions/linux-newbie-8/file%27s-permission-problem-907719/)

ttphuong 10-12-2011 02:05 AM

File's Permission problem
 
I have two user: ptlan and nttam have same group lantam. I've set permission:

ls -l SSCS.xls
-rwxrwxr-x+ 1 nttam lantam 3464192 Oct 3 17:04 SSCS.xls
groups ptlan
ptlan : ptlan NTV materials lantam

But user ptlan open this file (on Window) it show read only mode so she can't edit this file, i don't know how to fix?
Plz help me! Thanks

rustek 10-12-2011 03:18 AM

lantam is in the ptlan group.

I think it should be the other way around.

ptlan and nttam should both be in the lantam group.
Code:

adduser ptlan lantam
adduser nttam lantam


rustek 10-12-2011 03:36 AM

Sorry, I think my first response was wrong, I'm not used to the groups command.

The users in the lantam group probably can't write to the directory that the file is in.

Make the directory 775 with the group lantam.

ttphuong 10-12-2011 04:26 AM

Quote:

Originally Posted by rustek (Post 4496291)
Sorry, I think my first response was wrong, I'm not used to the groups command.

The users in the lantam group probably can't write to the directory that the file is in.

Make the directory 775 with the group lantam.


drwxrwxr-x 2 nttam lantam 4096 Oct 12 14:54 sscs: This is permission for the directory. I am stuck with problem solving.

fukawi1 10-12-2011 04:49 AM

I would say that it is probably going to be an issue with the permissions on the share, rather than the filesystem. Try checking the share definition in smb.conf..


All times are GMT -5. The time now is 06:01 AM.