Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-17-2005, 12:18 PM   #1
LQ Newbie
Registered: Dec 2004
Location: Stockholm
Distribution: Mandrake 10.1 Discovery
Posts: 13

Rep: Reputation: 0
Question Permissions differ depending is SMB is used or not

Dear Sir,

I'm trying to use My Mandrake 10.1 (Discovery) desktop diskspace as back-up for my wife's laptop. I do have a problem with permissions, Help someone.

1. I created a linux user for my wife.
useradd honey
passwd honey

2. I created a folder honey's back-up. I was user honey then

3. I checked the permissions - anyony can do everything on that folder. So for user,group and world.

4. The laptop did find the workgroup and Linux host (Mandrake 10.1).

5. It is possible to view the back-up folder from the laptop but is is not allowed to write to back-up folder.

6. I used smb on the Linux host and the folder permissions do not allow writing to the folder.

7. It looks like to me that there are two different sets of permissions to change and write depending on how the folder is accessed - localhost or smb.

My wife is not making back-ups because I cannot fix a write permission over smb? Someone who knows? I have only used KDE not thecommand line interpreter, if that is needed what is the command?

All the Best,
Old 01-17-2005, 12:35 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Yes, there's a difference between perms between
local file-system and samba.

If you need to write via SMB have a look at the
settings you gave the directory honey (or all of
home for that matter) in smb.conf and also look
at your samba logs...

Old 01-17-2005, 06:14 PM   #3
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
if you want a shared samba folder that EVERYONE (world) can use without a password use this in your smb.conf:

[share name]
        path = /home/myfolder
        guest ok = yes
        read only = no
make sure to enable filesystem access accordingly with chmod.

if you'd like to have a protected folder you need to setup smbpasswd with a username + password, the user must have a linux account

smbpasswd -a honey

and use this:

[share name]
        path = /home/myfolder
        guest ok = no
        read only = no
        valid users = honey


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
differ between proxysever and NAT vito_huang Linux - Networking 1 12-26-2004 02:56 AM
Assigning local permissions to imported SMB shares Ron Cook Linux - Networking 1 12-17-2004 06:12 AM
they do differ? [kernel in every distro] junkie101 Linux - Software 1 10-27-2004 09:16 AM
How does Fedora differ from RH9? Big Al Fedora 10 11-12-2003 11:13 AM
I can't compile any QT depending C++ application! Paulo Ges Programming 1 04-17-2003 05:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:34 AM.

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