LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-02-2011, 11:19 AM   #1
rflores2323
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Rep: Reputation: 0
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
 
Old 11-02-2011, 11:26 AM   #2
dmoyamendez
LQ Newbie
 
Registered: Oct 2011
Location: Lexington, NC
Distribution: Fedora, Ubuntu
Posts: 18

Rep: Reputation: Disabled
I think this might do the trick...

chmod -R 777 'folder name on drive'
 
Old 11-02-2011, 11:29 AM   #3
rflores2323
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dmoyamendez View Post
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.

Last edited by rflores2323; 11-02-2011 at 11:33 AM.
 
Old 11-02-2011, 11:31 AM   #4
dmoyamendez
LQ Newbie
 
Registered: Oct 2011
Location: Lexington, NC
Distribution: Fedora, Ubuntu
Posts: 18

Rep: Reputation: Disabled
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.
 
Old 11-02-2011, 12:11 PM   #5
rflores2323
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dmoyamendez View Post
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
 
  


Reply


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
How to change the permissions the whole directory? pratikvimal Linux - Newbie 10 06-12-2009 11:13 AM
Permissions change when I mount a directory AmdMhz Linux - Newbie 2 02-04-2009 04:36 PM
How do I change directory permissions ? cwolf78 Linux - Software 3 05-05-2005 01:15 PM
can't change directory permissions walterbyrd Debian 7 07-24-2004 02:20 PM
How do I Change directory permissions? Stevetgn Linux - Newbie 8 06-09-2004 01:09 AM


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

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