Mounting CIFS with write permissions
Code:
root@tpt60:~# umask Why aren't there write permissions for /mnt/cifs ? I can't write to the share with a regular user "me" |
Is your share mounted rw on the server? I'm using "user" security in my smb.conf. Here is the way I mount on the server:
Quote:
Quote:
Quote:
Regards, Bill |
This is a windows XP share though.
|
|
I tried disabling the Unix Extensions, but that didn't help. It still doesn't show write permissions after I re-mount the windows share.
This worked fine prior to 12.2 upgrade. |
mount.cifs with write access
To get the write access for the user who will be using the mount you need to assign the uid and gid options when creating the mount (example):
mount.cifs //server/share /home/mrodri/mountpoint -o rw,credentials=/home/mrodri/.creds,gid=502,uid=502 //server/share is the servername and share that you want to connect to /home/mrodri/mountpoint is the mountpoint at folder mountpoint of user mrodri credentials point to a hidden file .creds of a format like: username=mrodri password=_password_ domain=_NTdomain_ uid and gid are the user id and group id assigned by linux to the mrodri user. Check those with your user administration program, centos 6, system-administration-users and groups this worked for me. |
All times are GMT -5. The time now is 03:52 PM. |