LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-22-2013, 09:06 PM   #1
liaml7
LQ Newbie
 
Registered: Mar 2013
Posts: 5

Rep: Reputation: Disabled
Permissions issues


As you can see in the image, the fourth folder owned by liaml7 and the group liaml7 has all permissions even to other users, it doesn't appear this way though. I keep trying to cd and create files in the folder but it says liaml7 doesn't have permissions. What am I doing wrong?
Click image for larger version

Name:	image.png
Views:	14
Size:	17.0 KB
ID:	13037
 
Old 07-22-2013, 09:14 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,017

Rep: Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454
unless you are in the user group liaml7
that will not work

the user liaml7 needs to be in the users group
as root run
Code:
chown -R liaml7:users liaml7
that will change the permission on the folder "liaml7" to let users change it

unless this is a temp folder automounted in the /media folder
That is controlled by udev
 
Old 07-22-2013, 09:19 PM   #3
liaml7
LQ Newbie
 
Registered: Mar 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I figured it out... I had to change the permissions of /media folder.
 
Old 07-22-2013, 10:48 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,017

Rep: Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454
All folders on / should be owned by root
owner = root
users = root

some os's will not let you boot if this is not true
SElinux kernel will through a fit ( if it is used )
/media is a folder for TEMPORARY file systems from auto mounted devices

if you need a device to mount as read/write by the normal user then mount it using fstab
automount will auto set it as read only by normal users and read / write for root

and if it might be in any usb slot ( as in it changes ) write a udev rule so it is always mounted to the same place
 
  


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
permissions issues - HELP! dblaylock Linux - General 7 03-31-2009 11:06 AM
samba permissions Issues cougar97536 Linux - Server 2 02-21-2009 11:40 PM
Application permissions issues motionid Linux - Newbie 4 08-07-2005 11:24 AM
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 09:41 AM
permissions issues goldenmag Linux - General 3 08-01-2003 08:43 AM


All times are GMT -5. The time now is 04:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration