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 <[email protected]> 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 <[email protected]> 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 [email protected]
>> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to