Results 1 to 3 of 3
I'm a newbie in linux and I currently having some problem on linux mount folder mounted on 3 different linux pc.
command"-
mount //192.168.1.100/folder /mnt -o username=administrator,password=password,rw
1st (linux 5)- ...
- 04-06-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 2
folder permission issue on mount
I'm a newbie in linux and I currently having some problem on linux mount folder mounted on 3 different linux pc.
command"-
mount //192.168.1.100/folder /mnt -o username=administrator,password=password,rw
1st (linux 5)- I went into the /mnt folder and right click create folder, The permission for the folder is set to 755. Then I MUST click/touch on the folder then reload in order to change it to 777.
2nd(linux 5) - The permission is set to 777 immediately after create folder.
3rd (linux 4) - The permission is set to 755 and whatever I do, the permission won't change.
So my question is, how to set it to 777 whenever the folder is created? I really need to fix this thing in order for my java program to be able to create folder and file inside the folder.
- 04-08-2011 #2Just Joined!
- Join Date
- Apr 2011
- Posts
- 1
You can try to use the mount option umask=xxx or uid=xxx gid=xxx
Try this:
mount //192.168.1.100/folder /mnt -o username=administrator,password=password,rw,umask=777,uid=<your_user_id>,gid=<your_group_id>
- 04-15-2011 #3Just Joined!
- Join Date
- Apr 2011
- Posts
- 2
It's working great. You are Great. Saved me today. Thanks.


Reply With Quote