Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-02-2009, 01:59 PM   #1
Registered: Aug 2008
Posts: 58

Rep: Reputation: 15
Problem Changing Permissions

I am trying to mount a windows share on to linux with permission 777 but for some reason it doesnt work. When the share is mounted it changes the permission back to 755 and when i do chmod on that share to change the permission from root account it gives me this error message

chmod: changing permissons fo /mnt/winshare (requested: 0777, actual: 0755): operation not permitted.

it does same thing with files inside the share.

Please Help

Thanks in advance

Last edited by imkornhulio; 03-02-2009 at 02:07 PM.
Old 03-02-2009, 02:38 PM   #2
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137

how does your mount command look like?
Old 03-02-2009, 02:52 PM   #3
Registered: Aug 2008
Posts: 58

Original Poster
Rep: Reputation: 15
smbmount //windows/share /mnt/point -o username=xxx,password=xxx
Old 03-02-2009, 02:55 PM   #4
Registered: Aug 2008
Posts: 58

Original Poster
Rep: Reputation: 15
I tried the command bellow and it seems to work

smbmount //win/share /mnt/point -o umask=0000,fmask=0777,dmask=0777,username=xxx,password=***

Thanks for the help

Change to the fstab i made is

//win/share /mnt/point smbfs username=xxx,password=***,gid=groupname,umask=000,fmask=0777,dmask=0777,rw,user 0 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why cant I save a pic after changing it in gimp, permissions problem? M$ISBS Linux - Software 3 08-08-2005 01:27 AM
Changing permissions problem revenge80200 Linux - Newbie 5 07-09-2004 12:42 PM
problem changing file permissions on fat32 partition coolamit78 Linux - Software 4 01-18-2004 02:44 PM
Problem changing permissions on partition habitue Linux - Newbie 2 10-23-2003 09:56 AM
Changing permissions problem vexer Slackware 3 05-09-2003 01:33 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration