permission denied error while trying to write to a mount of windows share
I mounted a windows share as root using the command
mount -t cifs //windows_server/file_path -o noperm,rw,username=svc-live-oo,credentials=/etc/cifspw /mnt/windows_data/migration
I ensured from the windows security that "Everyone" has write access to this directory.
When I try to run touch a as root at /mnt/windows_data/migration, I get an error - touch: cannot touch `a': Permission denied
I confirmed that the migration folder has 777 permissions on it.
Based on some google serach, I tried umount and mount with following combinations of noperm and rw, but none helped. I continue to get the same error. What am I missing?
mount -t cifs //windows_server/file_path -o rw,username=svc-live-oo,credentials=/etc/cifspw /mnt/windows_data/migration
mount -t cifs //windows_server/file_path -o noperm,username=svc-live-oo,credentials=/etc/cifspw /mnt/windows_data/migration
mount -t cifs //windows_server/file_path -o noperm,rw,username=svc-live-oo,credentials=/etc/cifspw /mnt/windows_data/migration
Thanks for all the help and suggestions.
|