Re: uid specified user can't access mounted Window share

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot Steve! The problem is solved by adding
    file_mode=0777,dir_mode=0777
parameter. :)

Xianwen


On Mon, Mar 7, 2011 at 10:25 PM, Steve French <smfrench@xxxxxxxxx> wrote:
>
> Also, presumably you meant to separate the server export (UNC name)
> and local mount target (local directory path)
>
> mount.cifs //server/share  /media/h/ -o Âetc
>
> not
>
> mount.cifs //server/share/media/h/ -o Âetc.
>
> On Mon, Mar 7, 2011 at 3:22 PM, Steve French <smfrench@xxxxxxxxx> wrote:
> > If writes to that directory still fail when maximal permissions are
> > granted to local acces:
> >
> > mount.cifs //server/share/media/h/ -o
> > user=user1,domain=dmn,uid=user1,file_mode=0777,dir_mode=0777
> >
> > or even disable permission checking on the client:
> >
> > mount.cifs //server/share/media/h/ -o user=user1,domain=dmn,uid=user1,noperm
> >
> >
> > If those fail, then the issue is the permissions (access control) set
> > on the server directory for that user, not client permissions. ÂBe
> > careful about not leaving spaces between the comma separated items in
> > the mount option list (after -o separate parameters with commas).
> >
> > On Mon, Mar 7, 2011 at 3:02 AM, Chen, Xianwen <xianwen.chen@xxxxxxxxx> wrote:
> >> Hi fellow Linuxers,
> >>
> >> I need some hints on granting access to a non-root user for mounted
> >> Windows share.
> >>
> >> The share is mounted via
> >> Âmount.cifs //server/share/media/h/ -o user=user1 domain=dmn uid=user1
> >>
> >> However, user1 can't write to /media/h.
> >>
> >> Any comment will be appreciated!
> >>
> >> Xianwen
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> >> the body of a message to majordomo@xxxxxxxxxxxxxxx
> >> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
> >>
> >
> >
> >
> > --
> > Thanks,
> >
> > Steve
> >
>
>
>
> --
> Thanks,
>
> Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux