LinuxQuestions.org
Help answer threads with 0 replies.
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 05-13-2015, 03:38 AM   #1
yerunkar11
LQ Newbie
 
Registered: Mar 2015
Posts: 24

Rep: Reputation: Disabled
centos file permission issue


Hello There


I have an issue in file permission,I have configured an samba share drive,
created user and then shared it with other network computer(WINDOWS 7)

whenever an user creates an folder or file (like Excel) it shows up in read only mode..

I have ran the command :- chmod -R 777 <sharedFolder>

still when the users create a new folder, other cannot edit or modify the file

need help
 
Old 05-13-2015, 05:08 AM   #2
streetTux
LQ Newbie
 
Registered: May 2015
Location: Italy
Distribution: Fedora
Posts: 4

Rep: Reputation: Disabled
You don't need to set the directory permission to 777 change it back

Here's my suggestion (I'll call the user you create "jon"):

first of all, change the owner of the shared folder:

Quote:
chown -R jon:jon <sharedFolder>
..then force it in the samba configuration:

Quote:
[NAMEOFSHAREDFOLDER]
path=<sharedFolder>
writeable=yes
public=yes
guest ok = yes
guest only = yes
browseable = yes
force user = jon
force group = jon
inherit permissions = yes
Hope this will solve your problem

Sorry for my bad English
 
1 members found this post helpful.
Old 05-15-2015, 08:00 AM   #3
yerunkar11
LQ Newbie
 
Registered: Mar 2015
Posts: 24

Original Poster
Rep: Reputation: Disabled
Thanks for the reply,

actually i was having the some other issues in samba and posted the different question,

my issue was solved by adding Admin users,


Anyways Thanks for helping me out, Appreciated..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Apache 403 file permission error when accesing a symlink file (CentOS 6.3) mkvakic Linux - Newbie 7 02-13-2013 04:25 AM
[SOLVED] CentOS file Permission BernardLinux Linux - Newbie 2 09-12-2011 12:26 AM
file permission issue niss Linux - Server 4 08-13-2010 09:39 AM
File permission issue ZAMO Linux - Security 2 08-20-2008 07:55 AM
File System / Permission Issue anand_kt Linux - Security 5 09-15-2005 02:11 PM

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

All times are GMT -5. The time now is 04:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration