LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-02-2012, 03:09 PM   #1
OlDrunk
LQ Newbie
 
Registered: Aug 2012
Location: Wastelands
Distribution: Debian
Posts: 1

Rep: Reputation: Disabled
Question A little help with file permissions when moving a network storage drive?


Hello,
I'm still a newbie to linux( always something new to learn)
I have an Acer H340 that I've modded to give me VGA output and installed Ubuntu on over a year ago and been using for a network file server but I'm looking change things up and install another distro on it, My question is I have two drives(ext3) on there that are being used for network storage/back up and wonder what is the best or proper way to deal with permissions of those drives and files when I set-up Samba again in the new distro?
Thanks to every one that takes the time to read this and many Thanks to any one that replies.

Last edited by OlDrunk; 08-02-2012 at 06:31 PM.
 
Old 08-06-2012, 03:01 PM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
If you plan on the same user configuration as on the old system it should be a non event. If user BOB who belonged to goups A B C .... on the old system is and had access to those drives then he should on the new system.

If you are changing then I would suggest reading the man pages for chmod & chown so you can adjust as needed.
 
Old 08-06-2012, 06:35 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,443

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Just remember that the actual ownerships are stored numerically, see /etc/passwd for uid/gid values.
Usernames that appear in eg 'ls', are obtained in the background by calling getent().
 
  


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
moving data from FS from one storage to FS in another storage kmvinay AIX 4 12-07-2010 12:45 AM
External USB storage Drive, linux writing permissions. almcneill Linux - Software 2 02-09-2009 08:24 PM
file storage server with external drive ufmale Linux - Server 6 08-24-2008 10:04 PM
RHEL 4 does not recognize file permissions from w3k storage server cifs share rockfx01 Linux - Server 2 07-14-2008 09:22 AM
write permissions for a storage drive Riichard Linux - General 7 12-31-2003 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 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
Open Source Consulting | Domain Registration