I need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group).
I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.
On Thu November 18 2010 11:06 am, rfabbrica wrote:
>
> I need to mount a windows share on my OpenSUSE 11.3. I get it using the
> mount.cifs command (by itself or using cifstab), but only root can rw
> file. I try the uid/gid parameters (also using forceuid) and the
> file_mode/dir_mode parameters, but I get the same behavior: all files
> and directory with rwxr-xr-x permissions and root/root (user/group).
>
> I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS
> in man mount.cifs but nothing works.
>
> Any idea?
>
>
rfabbrica;
>
> Try connecting those options with commas (not sure, I never used spaces
> as connectors, seems illogical).
>
>
Then manual clearly states a comma separated list. From man mount:
-o Options are specified with a -o flag followed by a comma separated
string of options.
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green