cannot write to windows share as user
As a user, I can read but not write to a Windows share I have mounted through Samba. As root, however, I can. The permissions for the mounted directory show that the mounted directory is owned by root and has no write permissions for group or other. As root, I try changing the permissions to 777, but I get no error and no change in the permissions.
This is my ftab line that is mounting the share: //robyn/data /home/keir/data smbfs username=keir,password=keir 0 0 Thanks, Keir |
There are two permissions...
Linux file permissions for /home/keir/data & window$ permissions for user keir on //robyn/data does user keir have write permissions in window$ ? |
The share permissions are set to 'everyone' full control/read/write'. (It's a home nework) and there are no NTFS permissions (it's FAT 32).
|
no need to use samba if you are trying to use a local partition, if u are trying to access a remote disk maybe the solution could be similar :)
anyway for local partition: u can access the partition with read/write mode just adding a line in /etc/fstab /dev/hdXX /wherever_u_want vfat gid=500,umask=0007 0 0 or as root: mount -t vfat /dev/hdXX /wherever_u_want -o gid=500 -o umask=0007 this line add the permission to access/read/write/execute anything in the partition with windows to group=500 (see /etc/group) |
All times are GMT -5. The time now is 02:53 AM. |