LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2013, 06:13 AM   #1
The Seeker 11
Member
 
Registered: Apr 2004
Location: Buxton, UK
Distribution: Slackware
Posts: 48

Rep: Reputation: 18
External HDD owner:group


When changing ownership on my external HDD (currently root:root), should I also change the group to users, or leave as root? In other words:

Code:
chown -R seeker /media/external
or

Code:
chown -R seeker:users /media/external
The drive is accessed only by me.
 
Old 02-28-2013, 07:04 AM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 3,312

Rep: Reputation: Disabled
I'd change it to 'users', but if it's intended for use by a single user I'd also be inclined to chmod 700 it.

This is assuming it's a linux filesystem and not vfat/ntfs ofcourse.

Last edited by GazL; 02-28-2013 at 07:05 AM.
 
Old 02-28-2013, 07:37 AM   #3
The Seeker 11
Member
 
Registered: Apr 2004
Location: Buxton, UK
Distribution: Slackware
Posts: 48

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by GazL View Post
This is assuming it's a linux filesystem and not vfat/ntfs ofcourse.
Yes, ext4.
 
Old 03-04-2013, 01:10 AM   #4
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 799

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Another option would be root:root with mode 1777 (world writeable with sticky bit set): Any user can put files there, but can only access or remove his own files (depending on umask of course).
 
Old 03-04-2013, 04:43 AM   #5
The Seeker 11
Member
 
Registered: Apr 2004
Location: Buxton, UK
Distribution: Slackware
Posts: 48

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by jtsn View Post
Another option would be root:root with mode 1777 (world writeable with sticky bit set): Any user can put files there, but can only access or remove his own files (depending on umask of course).
Interesting. Thanks for the info
 
  


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
which group and which owner ndaka123488 Linux - Software 5 09-20-2011 05:54 PM
Allowing Group and Owner for 3 users acctman Linux - Server 3 04-20-2009 10:34 AM
Changing owner and group of file surfbass Linux - General 2 12-12-2005 02:25 PM
group owner etc MI3GTO Mandriva 3 02-27-2005 08:26 PM
Group as owner instead of a user dtournas Linux - General 1 09-11-2003 10:13 AM


All times are GMT -5. The time now is 07:58 AM.

Main Menu
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