LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-12-2005, 10:01 PM   #1
fisayo
Member
 
Registered: Apr 2005
Distribution: Suse 9.3 | Mandrake 10.0 - 10.1
Posts: 39

Rep: Reputation: 15
can't change permissions for samba mounted floppy


Hi! I have configured samba to share the floppy on one of my machines (powered by MDK10). On my other machine, I've mounted it successfully however I can't configure the permissions of the mount directory to allow all users to read, write and execute. By default, it only allows other users outside root to read and execute. I've changed the permissions of the mount directory (777) but when I mount the samba floppy, it returns to the 755 state on my other machine.
How can I share it to allow all users to write? These are my settings:

ON SAMBA MACHINE
smb.conf file (truncated)
[floppy]
comment = Floppy on BESTPC
path = /mnt/floppy
guest ok = yes
writeable = yes
browseable = yes
public = yes

directory permissions (mnt directory -- truncated)
total 13
drwxrwxrwx 2 root root 7168 Apr 13 03:29 floppy/

ON CLIENT MACHINE (mnt directory -- truncated)
before mount
drwxrwxrwx 2 root root 4096 Apr 13 03:41 floppy/
after mount
drwxr-xr-x 1 root root 4096 Apr 13 03:58 floppy/

I don't mind alternatives as long as I can mount a network directory with 777 permissions. I don't know how to use NFS. Is it a better alternative?
 
Old 04-13-2005, 06:16 AM   #2
fuzzyash
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Rep: Reputation: 30
If both machines are running Linux then I find NFS to be better. Check out http://www.tldp.org/HOWTO/NFS-HOWTO/index.html for all that you need. I run Fedora & am unfamiliar with Mandrake but I'm sure it'll have a GUI config of some sort. Fedora has /usr/bin/system-config-nfs which makes things very easy, but manual config is quite easy also.
NFS is fairly simple but when you first mount it BE PATIENT!! I made this mistake when I first started messing around with NFS, it takes several minuets to mount on my 10/100 network.
 
Old 04-20-2005, 04:07 AM   #3
fisayo
Member
 
Registered: Apr 2005
Distribution: Suse 9.3 | Mandrake 10.0 - 10.1
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the information fuzz*. I've not yet gotten a hang of NFS but I hope to catch up on it. Thanks for trying. Have a nice day
 
  


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
Can't change permissions on mounted partition OlRoy Linux - General 2 09-24-2004 02:22 AM
How to change permissions of a mounted partition seran Linux - General 2 08-13-2004 01:43 AM
Can't change permissions for mounted windows partition shara Linux - Newbie 6 03-24-2004 06:31 PM
How to change permissions for Mounted Filesystem leroy27336 Linux - General 3 11-15-2003 03:08 AM
cant change permissions on a mounted windows partition groovin Linux - Newbie 10 11-02-2002 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:58 PM.

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