LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-04-2008, 02:39 PM   #1
Splin
Member
 
Registered: Apr 2004
Distribution: CentOS 5.1
Posts: 42

Rep: Reputation: 15
After transferring from mac drive, can't change permissions


Hi there!

I recently got some data from mac hsfplus FS external usb drive. With root rights I were able to copy data from mac drive to my data server. But now I need to make this data freely available to normal users. It shows that owner of this data is nobody. I can only access this data with root account. If I try to chown or chmod that data with root account then it says that I have no permission to do so.
What can I do to make this data freely available to linux users. Under windows(connected to samba to this server) I can freely access this data :/

Thanks a lot in advance!
 
Old 03-04-2008, 06:54 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I have never heard of a file who's owner couldn't be changed.

Perhaps you can try making it world-accessible (chmod 777), and then copy it with a normal user account. When it is copied, it should inherit the ownership of whoever copied it and take sane permissions.
 
Old 03-04-2008, 07:27 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You may need the chattr cmd: http://linux.about.com/od/commands/l/blcmdl1_chattr.htm (as root)
 
Old 03-05-2008, 02:33 AM   #4
Splin
Member
 
Registered: Apr 2004
Distribution: CentOS 5.1
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by MS3FGX View Post
I have never heard of a file who's owner couldn't be changed.

Perhaps you can try making it world-accessible (chmod 777), and then copy it with a normal user account. When it is copied, it should inherit the ownership of whoever copied it and take sane permissions.
So it goes:
Quote:
[root@FilmPost-HD Projects]# chmod 0777 -R Restauratsioon/
chmod: changing permissions of `Restauratsioon/': Operation not permitted
[root@FilmPost-HD Projects]# chown -R Tauno Restauratsioon
chown: `Restauratsioon/dust_busted_medium': Permission denied
Quote:
You may need the chattr cmd: http://linux.about.com/od/commands/l/blcmdl1_chattr.htm (as root)
At first sight that seems like alien language to me. All I would like to do is assign new user to that folder and change permissions to 0777. Can I do that with chattr? Sorry if it sounds stupid

Thanks all!

Last edited by Splin; 03-05-2008 at 02:35 AM.
 
Old 03-05-2008, 03:14 AM   #5
Splin
Member
 
Registered: Apr 2004
Distribution: CentOS 5.1
Posts: 42

Original Poster
Rep: Reputation: 15
OK solution found!

Server location was NFS share. I used root in server and I were able to do with files whatever I wanted. I found out that user permissions are not configured properly in network. Can anyone recommend good tutorial how to set up user accounts in linux with file management over netowk in mind.
 
  


Reply



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
Change USB drive permissions phantom_cyph Linux - Hardware 1 06-24-2007 12:46 PM
USB Drive, I can not change permissions! WHY?! o.O KevinAlaska Linux - Newbie 2 05-16-2007 01:32 AM
Can't change drive permissions kadharris Linux - Newbie 3 02-20-2007 11:52 AM
change permissions of the second hard drive jmding Linux - Hardware 6 12-19-2006 03:42 PM
Change permissions on ntfs drive PieEater Linux - Newbie 2 09-11-2004 09:26 AM

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

All times are GMT -5. The time now is 10:39 PM.

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