LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-10-2006, 09:56 PM   #1
kep51
LQ Newbie
 
Registered: Feb 2006
Location: Sacramento CA
Distribution: mandriva
Posts: 5

Rep: Reputation: 0
need to write to my NT4 server ntfs share as normal users


Hi. I am running Mandriva club edition. I have tried various flavors of Linux over the past few months and must say I have learned a lot, but still have a long ways to go. my problem is I need to write to my NT4 server as normal users. I can write if I su. I have right clicked on the folders were I want to modifie permissions, and changed them all to rwx. I have no ideal what to change user and group to under owership. I am trying to migrate my family off of windows (I am so tiered of dealing with all the mallware) or at least predominately off windows. It wont work if they cant write. and they do not need to be able to su. at present i can open a shell, su, then konqueror, and do anything i want to on the nt4 server, move file, folders, create or modifies just like i can from win2k or XP. I set write permissions click ok come back in and it is just as it was before, permissions changes did not stick. Any any thoughts here. The server is our repository for everything. And we all write there consantly a shared fat 32 wont work, 4gig file size limit and that would also be local. Nt4 cant use fat 32
Thanks in advance
 
Old 06-11-2006, 04:34 AM   #2
dexter11
Member
 
Registered: Apr 2005
Distribution: Mandriva
Posts: 197

Rep: Reputation: 30
Since you checked the directory permissions where the windows partition is mounted I think you should check how it's mounted. You need to add the option 'user' to the mount options. You can use the MCC to do that.
 
Old 06-12-2006, 05:50 AM   #3
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Quote:
I need to write to my NT4 server as normal users. I can write if I su
Your thread title says ntfs
I am confused
I thought Linux cannot really write to ntfs, unless you install ntfs-org,
or paragon software
 
Old 06-13-2006, 01:03 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Linux can't safely write to NTFS drives yet and although Mandriva/drake ships with NTFS read support by default it has never shipped with NTFS write support enabled in any version AFAIK. I'm guessing kep51 that what you actually mean is that you're trying to access files that are shared across the netwrok from your NT server?

The 'user' option in fstab only allows normal users to mount/umount the share or drive, it doesn't give them permission or ownership of the files once mounted. There are a few options if you look through man mount and man smbmount:
For ntfs:
umask - permissions for mounted files/directories, umask=0 gives all permissions for all users
uid - file/directories ownership set to particular user
gid - file/directories ownership set to particular group

For smb:
uid=<arg>
sets the uid that will own all files on the mounted filesystem.
It may be specified as either a username or a numeric uid.

gid=<arg>
sets the gid that will own all files on the mounted filesystem.
It may be specified as either a groupname or a numeric gid.
fmask=<arg>
sets the file mask. This determines the permissions that remote
files have in the local filesystem. This is not a umask, but the
actual permissions for the files. The default is based on the
current umask.

dmask=<arg>
Sets the directory mask. This determines the permissions that
remote directories have in the local filesystem. This is not a
umask, but the actual permissions for the directories. The de-
fault is based on the current umask.
 
  


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
X won't login normal users (cannot write to /tmp) R00ts Linux - Software 6 09-03-2005 02:25 AM
Normal users reading regular NTFS mount. MagusYilie Linux - Newbie 2 04-21-2005 12:07 AM
mounting hard drive partition write for normal users jojotx0 Linux - Hardware 1 04-19-2005 01:10 PM
permission for normal users to read my NTFS HDs. Moebius Linux - Newbie 6 01-26-2004 07:23 AM
USB Key /w ro NTFS and normal users can't read spire Linux - Newbie 3 09-20-2003 07:50 PM


All times are GMT -5. The time now is 10:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration