Unable to change permission on folder

Asked by Rocco

Hi,

I'm unable to change permission for Sharing Options on a folder, called storage.

I tried with the Sharing Options , with the properties in File Browser.

I tried also with sudo chmod a+r storage

My drive is mounted as follow in the fstab storage:

/dev/sdb /media/media ntfs defaults,umask=007,gid=46 0 1

the permissions are : drwxrwx---

I would like to have drwxrwxrwx so I can share the folder on nmy network.

Any ideas why

Rocco

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Rocco
Solved:
Last query:
Last reply:
Revision history for this message
Shane Fagan (shanepatrickfagan) said :
#1

Where is the folder located? If its in the root folders you need to be root to change the permissions.

Revision history for this message
Rocco (racicot-sylvain) said :
#2

the folder is located in a second drive, ntfs type, i do not beleive it nis in the root folders since i mounted this second drive after installation of Ubuntu

I created the folder with mkdir command when logged as su on terminal.

Revision history for this message
ealthuis (ealthuis) said :
#3

I am far from being an expert, but try this, and replace things in quotes with yours without quotes:

sudo -c "your username" /path/to/folder

You must enter your password which will not be visible

Revision history for this message
Shane Fagan (shanepatrickfagan) said :
#4

Alt+f2
Sudo nautilus
Navigate to the folder and go to the permissions tab.
root will have read and write privileges because its the owner.
For group and others select that they have read and write privileges
That should fix your problem

Hope that helps

Revision history for this message
Rocco (racicot-sylvain) said :
#5

hi Shane,

I tried the sudo nautilus.

I nwas able to share the folder, but not change the permission to write or read, in fact on the permission tab, i'm not able to change anything, not the group, which is set at plugdev, and other is blank.

so it is half way done here

Hi ealthuis,

the sudo -c command is not working, infact the asnwer back is : sudo : illegal option -c
i tried the sudo -c in both , superuer mode and login mode

any ideas ???

rocco

Revision history for this message
Shane Fagan (shanepatrickfagan) said :
#6

The box is empty but a list drops down when you click on it.

Revision history for this message
Rocco (racicot-sylvain) said :
#7

Hi shane,

I tried to select another choice in the drop down menu, but it refuses the change and set the selection back to original, for gruop it is plugdev.

Owner is set to rrot
Group is set to plugdev

rocco

Revision history for this message
Rocco (racicot-sylvain) said :
#8

hi all,

I resolved my problem, it was a wrong umask=000 and gid=46 setting.

after ready ubuntu doc regarding umask, dmask, fmask and gid, i decided ton remove from my fstab file the umask and gid options for my drive,

after reboot, everything is working perfectly now.

so here is my command in my fstab file for mounting my ntfs hd:

uuid=xxxxxx /media/medai ntfs defaults 0 0

Rocco