LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2011, 02:05 AM   #1
ttphuong
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
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
 
Old 10-12-2011, 03:18 AM   #2
rustek
Member
 
Registered: Jan 2010
Location: Melbourne, IA, USA
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 8
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
 
Old 10-12-2011, 03:36 AM   #3
rustek
Member
 
Registered: Jan 2010
Location: Melbourne, IA, USA
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 8
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.
 
Old 10-12-2011, 04:26 AM   #4
ttphuong
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rustek View Post
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.
 
Old 10-12-2011, 04:49 AM   #5
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
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..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with permission of the file ashyddiq Red Hat 5 07-31-2011 08:41 AM
floppy file permission problem drmjh Linux - General 2 02-10-2011 03:13 PM
file permission problem unleashed Linux - Security 9 04-20-2005 04:22 PM
File Permission Problem Scythe Slackware 1 01-12-2004 11:37 PM
File permission problem nuttyvishal4u Linux - General 1 08-21-2003 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration