LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-25-2002, 03:37 PM   #1
loganwva
Member
 
Registered: Jul 2001
Location: West Virginia
Distribution: SuSE 9.1
Posts: 117

Rep: Reputation: 15
Mounting permissions


I mount my win2000 share under /mnt/win, I set the permissions on the win directory so that only myself and root have access to it, but after I mount the drive the permissions charge to the default permissions which gives everyone access to the directory (under the default permissions everyone doesn't have write permissions). How do I keep this from happening?

I'm running Mandrake 8.2

Thanks
 
Old 04-25-2002, 03:39 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 198Reputation: 198
you want to set the actual settings on the device itself.. like /dev/hda1 .........etc.

also if you have it auto mount from the /etc/fstab file, make sure the settings are ok there too.
 
Old 04-25-2002, 04:14 PM   #3
samon
LQ Newbie
 
Registered: Apr 2002
Posts: 18

Rep: Reputation: 0
use umask

u can try to use umask in the options section, for example if u want the permissions on drive /dev/hda1 to be 755 add umask=022 to the optins section of the line where the drive /dev/hda1 in mounted in fstab. I hope that was clear, sorry my english is poor
 
  


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
mounting and permissions kronchev Linux - Software 2 03-26-2005 04:28 AM
Mounting Permissions canuck_barlow Linux - Newbie 11 03-16-2005 09:33 PM
Mounting and Permissions ngreimel Linux - Newbie 3 08-10-2004 04:26 PM
Mounting Permissions ewto Linux - Newbie 2 09-30-2003 04:22 AM
Mounting /dev permissions??? footprint Linux - Software 1 09-20-2002 04:01 PM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration