-   Linux - Server (
-   -   Problem Changing Permissions (

imkornhulio 03-02-2009 01:59 PM

Problem Changing Permissions
I am trying to mount a windows share on to linux with permission 777 but for some reason it doesnt work. When the share is mounted it changes the permission back to 755 and when i do chmod on that share to change the permission from root account it gives me this error message

chmod: changing permissons fo /mnt/winshare (requested: 0777, actual: 0755): operation not permitted.

it does same thing with files inside the share.

Please Help

Thanks in advance

mesiol 03-02-2009 02:38 PM


how does your mount command look like?

imkornhulio 03-02-2009 02:52 PM

smbmount //windows/share /mnt/point -o username=xxx,password=xxx

imkornhulio 03-02-2009 02:55 PM

I tried the command bellow and it seems to work

smbmount //win/share /mnt/point -o umask=0000,fmask=0777,dmask=0777,username=xxx,password=***

Thanks for the help

Change to the fstab i made is

//win/share /mnt/point smbfs username=xxx,password=***,gid=groupname,umask=000,fmask=0777,dmask=0777,rw,user 0 0

All times are GMT -5. The time now is 05:22 AM.