LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Why is fmask & dmask required to write to a WinXP share mounted on Mdrake SMB client (http://www.linuxquestions.org/questions/linux-networking-3/why-is-fmask-and-dmask-required-to-write-to-a-winxp-share-mounted-on-mdrake-smb-client-214074/)

ruscook_oz 08-05-2004 10:42 PM

Why is fmask & dmask required to write to a WinXP share mounted on Mdrake SMB client
 
mount -t smbfs //atom/"My Documents" /mnt/Docs -o username="xx",fmask=0666,dmask=0777
The above is the line, I *have* to use to make my WinXP shares writable by a non-root user connecting from my Mandrake 10 box back to the Win box.

Root can read and write fine, even though the Win loging I've used "xx" in the above is an admin equivalent and the same name as the non-root user on the Linux box.

Can anyone tell me why these masks are requiered?

Also, what's the position (bit positioning) and weighting of the masks(I can never remember) ?
i.e. 0XYZ is X the owner, or group or other, or is it Z etc.
:newbie:

Jowin Sam Zachariah 02-08-2007 05:50 PM

anyway x is the owner y the group and z refers to others but as to why fmaskand dmask is required i have no clue..


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