LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2006, 03:26 PM   #1
psycode
LQ Newbie
 
Registered: Jan 2006
Posts: 17

Rep: Reputation: 0
Unhappy problems accessing samba shares


Hi all!

this is my first post and I hope someone can help, i'm going nuts here... Ok I've got a three pc home network.
Two running mandrakelinux 10.1 and one running XP. One of the nix boxes is set up as a file server using samba giving rwx permissions on all drives (the shares on the network are all root drives on the file server). When accessing the shared drives from the XP box all works as expected, I can create directories, delete files etc. but when accessing the shares from the other nix box (the shares are mounted under /mnt/sharename) the permissions show up as owner:rwx group:rx other:rx on the above folders which means that I cannot create/delete unless i am logged in as root. when I try to change the permissions of the /mnt/sharename directory it gives me the old "you don't have privileges to change this file" story even though I am logged in as root and the owner of the directory.. In my view samba is mounting the share with certain permissions then launching a proccess to prevent modification. What I need to know is how do I configure the shares to be loaded on the client with full a+rwx access so that I can create/delete files on the file server no matter who I am logged in as.
Please, any help would be appreciated...
regards
PsyCode
 
Old 01-18-2006, 04:43 PM   #2
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
Try adding the mount option "umask=000" to the options field of the appropriate /etc/fstab entry.
 
Old 01-26-2006, 04:59 PM   #3
psycode
LQ Newbie
 
Registered: Jan 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Question

Thanx, that did it but, (theres always a 'but') all the files on the server are showing up as user:nobody group:nobody with write access only granted to that group. So although I can now write/delete to the root directory I cant delete files (even as root) so when i add any files on the xp box to the shared drive I have to shh to the server change ownership before I am able to touch it in linux. Any suggestions?

PsyCode
 
  


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
Problem while accessing Samba Shares. duffmckagan SUSE / openSUSE 16 09-22-2005 03:49 PM
Difficulty accessing SAMBA shares Tsarok Slackware 1 08-30-2005 10:16 PM
Accessing Samba Shares The_Q DamnSmallLinux 2 02-05-2004 05:36 AM
Accessing samba shares from command line paul.nel Linux - Software 4 01-24-2004 09:02 AM
accessing samba shares is slow! kudos Linux - Software 2 11-26-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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