You are not logged in.

#1 2011-10-31 12:20:58

framas
Member
Registered: 2009-07-24
Posts: 50

[SOLVED]Problems with directory permissions when mounting a cifs share

Hi,
I got some problems accessing a cifs share directory as user.
My fstab looks like:

//192.168.1.3/frank         /home/frank/diskstation cifs users,noauto,noatime,user=frank,umask=022,rw,uid=1001       0  0   

The directory looks unmounted like:

ls -hal  /home/frank/ | grep diskstation
drwxr-xr-x 1 frank frank    0 31. Okt 10:45 diskstation

After mounting:

$ mount diskstation/
Password: 
$ ls -hal  /home/frank/ | grep diskstation                                                                                                                      
d------rwx 12 frank frank    0 31. Okt 11:36 diskstation

Can someone tell me what goes wrong there?
The share is a encrypted volume on my synlogy ds 211+

Last edited by framas (2011-10-31 14:18:36)

Offline

#2 2011-10-31 14:18:08

framas
Member
Registered: 2009-07-24
Posts: 50

Re: [SOLVED]Problems with directory permissions when mounting a cifs share

Recreating the share solves this problem...

framas wrote:

Hi,
I got some problems accessing a cifs share directory as user.
My fstab looks like:

//192.168.1.3/frank         /home/frank/diskstation cifs users,noauto,noatime,user=frank,umask=022,rw,uid=1001       0  0   

The directory looks unmounted like:

ls -hal  /home/frank/ | grep diskstation
drwxr-xr-x 1 frank frank    0 31. Okt 10:45 diskstation

After mounting:

$ mount diskstation/
Password: 
$ ls -hal  /home/frank/ | grep diskstation                                                                                                                      
d------rwx 12 frank frank    0 31. Okt 11:36 diskstation

Can someone tell me what goes wrong there?
The share is a encrypted volume on my synlogy ds 211+

Offline

#3 2011-11-02 21:05:36

donfrenchiano
Member
Registered: 2011-10-22
Posts: 13

Re: [SOLVED]Problems with directory permissions when mounting a cifs share

framas wrote:

Recreating the share solves this problem...

framas wrote:

Hi,
I got some problems accessing a cifs share directory as user.
My fstab looks like:

//192.168.1.3/frank         /home/frank/diskstation cifs users,noauto,noatime,user=frank,umask=022,rw,uid=1001       0  0   

The directory looks unmounted like:

ls -hal  /home/frank/ | grep diskstation
drwxr-xr-x 1 frank frank    0 31. Okt 10:45 diskstation

After mounting:

$ mount diskstation/
Password: 
$ ls -hal  /home/frank/ | grep diskstation                                                                                                                      
d------rwx 12 frank frank    0 31. Okt 11:36 diskstation

Can someone tell me what goes wrong there?
The share is a encrypted volume on my synlogy ds 211+

Could you be more specific when you say recreate the share? im having this same problem but im on a brand new install of arch so I have never gotten it to mount on this install but never had problems on other distros. I don't see why I would have to do anything on the server with the share.

Offline

Board footer

Powered by FluxBB