LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-18-2007, 02:30 PM   #1
heyme
LQ Newbie
 
Registered: Nov 2007
Location: Antwerpen, Belgium
Distribution: Ubuntu 7.10
Posts: 11

Rep: Reputation: 0
permissions using cmod/chgrp not changing


Hello,
I'm having a bit of a problem, browsed the forum and help, did what I think was noted there, but cannot change file-ownership to myself.
I have a second hard-drive with files from my previous system, but cannot modify these.
When I check permissions on my own folder I get
drwxr-xr-x 3 heyme heyme 4096 2007-11-18 19:51 Documents

Now when I try to change the ownership of the 'sites' folder to 'heyme' nothing changes..it stays root and plugdev..
I did sudo -i first to change to root.

root@heyme-huge:/media/sda5# chown heyme sites
root@heyme-huge:/media/sda5# ls -l
drwxrwx--- 1 root plugdev 4096 2007-11-18 20:59 sites

Same happens with chgrp heyme sites.

Something I'm doing wrong?
I'd like to give myself read/write access to the full sda5 disk..

Thanks already,
Heyme
 
Old 11-18-2007, 02:32 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
So would that be a fat32 or an ntfs partition?
 
Old 11-18-2007, 02:49 PM   #3
heyme
LQ Newbie
 
Registered: Nov 2007
Location: Antwerpen, Belgium
Distribution: Ubuntu 7.10
Posts: 11

Original Poster
Rep: Reputation: 0
aha, yes, ntfs indeed.
Is it still possible to change the permissions or should I change the disk to FAT first?
And I still have windows running on that disk, and don't just yet want to throw that off as I still haven't found an alternative to flash..and don't want to damage that disk obviously..
 
Old 11-18-2007, 03:23 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Neither of those file-systems has any notion of linux' ownerships or permissions.
You'll have to modify the mount-options, but I'm not sure how to do that in the
buntus with auto-mounting.


Cheers,
Tink
 
Old 11-18-2007, 04:14 PM   #5
heyme
LQ Newbie
 
Registered: Nov 2007
Location: Antwerpen, Belgium
Distribution: Ubuntu 7.10
Posts: 11

Original Poster
Rep: Reputation: 0
Right, thanks very much for your quick answers, appreciate it.
Did it quick-and-dirty, copied the folders I need to change to my documents, changed what I needed, and copied them back.
 
Old 11-18-2007, 05:46 PM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Putting this in your /etc/fstab should work on any distro that assigns 1000 as a UID and GID by default:

ntfs-3g rw,gid=1000,uid=1000,umask=0022 0 1


Ubuntu does it a little differently, by using the UID for user plugdev. That should work just as fine.
 
  


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
changing permissions sy-co Mandriva 5 04-16-2004 10:13 AM
Changing permissions in 9.2 Jerrac Mandriva 17 12-08-2003 07:36 AM
changing permissions... ashesh Linux - General 3 08-15-2003 11:32 PM
Changing permissions Mladek Linux - Software 7 07-09-2003 08:57 AM
Changing Permissions linuxfond Linux - Newbie 11 07-01-2003 02:48 PM

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

All times are GMT -5. The time now is 03:58 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