LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   change directory permissions in ubuntu (http://www.linuxquestions.org/questions/linux-newbie-8/change-directory-permissions-in-ubuntu-911492/)

rflores2323 11-02-2011 10:19 AM

change directory permissions in ubuntu
 
I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me.

I ran the ls -l and get drwx------ 1 xbmc xbmc

the gui shows below.

owner xbmc folder access create and delete files file access ---

Group xbmc folder access none file access ---

others folder access none file access ---

how can I change it so that everyone has permission to access the drive and ALL folders/files inside of it. I am trying to get plexmedia server running and I cant see my drives via the webpage manage to add it to my source to be able to stream my content.

I want to change the "others" access so that I can access all my drives on the /media path to get read and write for all my folders from anywhere.

you can see my drives that are mounted here (external drives are #18,19,20) http://paste2.org/p/1754386

dmoyamendez 11-02-2011 10:26 AM

I think this might do the trick...

chmod -R 777 'folder name on drive'

rflores2323 11-02-2011 10:29 AM

Quote:

Originally Posted by dmoyamendez (Post 4514174)
I think this might do the trick...

chmod -R 777 'folder name on drive'

I tried that already for the whole drive name and it did not change any of the permissions. Should I try it for just the folders that I want?

Edit- tried to change just one folder on the drive and it did not change the permissions. tried with sudo chmod -R 777 and did not change it either

All three drives are owned by user xbmc and not root aswell. I am able to access them thru samba with no problem however I am trying to access them thru plex media server and the drives show up however I cannot get access to the folders/files inside the drives.

dmoyamendez 11-02-2011 10:31 AM

If plex media server can see the drives, just not their content, then yes I would try that command to the folders you wish to access.

rflores2323 11-02-2011 11:11 AM

Quote:

Originally Posted by dmoyamendez (Post 4514184)
If plex media server can see the drives, just not their content, then yes I would try that command to the folders you wish to access.

tried it and nothing.

also tried below

$ sudo chmod ug+rwx /to path
$ sudo chmod ug+rw /to path

and did not change the permissions


All times are GMT -5. The time now is 02:46 AM.