need to write to my NT4 server ntfs share as normal users
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.