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 04-13-2011, 03:36 AM   #1
balebel
LQ Newbie
 
Registered: Apr 2011
Posts: 10

Rep: Reputation: 0
Samba file access rights


Hi Everybody,
As it's known, having a 'read' right on a file allows that the the file can be opened et read by the person who has that right.
But, in samba (smb.conf), having a 'read' right on a file allows that the file can be opened, read, renamed, end copied.
I don't understand the difference between the 'read' right in samba and in a normal Linux (debian) 'read' right :sssss
Please help me
 
Old 04-13-2011, 03:43 AM   #2
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Rep: Reputation: 12
first do a
Code:
 ll
in the folder where the smb.conf is located in.
And see what the permissions are:explaining the permissions

than compare with what you have and change if needed into

Code:
chmod u+r-wx smb.conf
or
Code:
chmod 400 smb.conf
and if that's not working, maybe it has to do something with that the user you are logged on is in a group wich can have writing permissions?!

---------- Post added 04-13-11 at 09:44 AM ----------

give us some feedback, like if you do the
Code:
ll
what is he showing?
copy it and post it, so we can all see whats happening
or the command
Code:
whoami
so we can see what user you are logged on with

keep us posted

Last edited by brownie_cookie; 04-13-2011 at 03:46 AM.
 
Old 04-13-2011, 05:20 AM   #3
balebel
LQ Newbie
 
Registered: Apr 2011
Posts: 10

Original Poster
Rep: Reputation: 0
@brownie_cookie: you didn't understand my question. I don't want to make changes in smb.conf file
 
Old 04-13-2011, 05:31 AM   #4
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Rep: Reputation: 12
ow sorry, didn't read it right

maybe this site works for you?

maybe you should set READ = NO and BROWSEABLE = YES ???

i'm not sure, but try something out and give us some feedback !! what are your settings in SMB.CONF ??

Last edited by brownie_cookie; 04-13-2011 at 05:33 AM.
 
  


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
access rights on files Samba Linux balebel Linux - Newbie 5 04-07-2011 12:21 PM
Samba Access Rights esasse Linux - Newbie 6 12-22-2004 07:45 AM
Access Rights using Samba Nylix Linux - Newbie 1 05-14-2004 04:01 PM
Samba and access rights schaf Linux - Newbie 1 08-14-2003 10:19 AM
Samba Access rights ppuddick Linux - Networking 2 07-17-2002 12:28 PM

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

All times are GMT -5. The time now is 11:28 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