0

Is there any ability to mount windows share folder to Linux with all permissions:

I want to try this command:

mount -t cifs -o username=<share user>,password=<share password>,umask=0777 //WIN_PC_IP/<share name> /home/backup

At the moment I could not up any Vbox machine to test it in calm condtitions.

I looked through the http://unix.stackexchange.com and found a lot of unswers: permissions1, permissions2, permissions3. But I am not sure about the correctness of my own command.

Please, advice on this solution. Is the command right or I need to add more parameters to it?

1

umask did not work for me

So the best way to give all rights to the cifs(samba) folder is to use this command:

mount -t cifs -o username=<share user>,password=<share password>,file_mode=0777,dir_mode=0777 //WIN_PC_IP/<share name> /home/backup

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.