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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-18-2007, 02:30 PM
|
#1
|
LQ Newbie
Registered: Nov 2007
Location: Antwerpen, Belgium
Distribution: Ubuntu 7.10
Posts: 11
Rep:
|
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
|
|
|
11-18-2007, 02:32 PM
|
#2
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
So would that be a fat32 or an ntfs partition?
|
|
|
11-18-2007, 02:49 PM
|
#3
|
LQ Newbie
Registered: Nov 2007
Location: Antwerpen, Belgium
Distribution: Ubuntu 7.10
Posts: 11
Original Poster
Rep:
|
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..
|
|
|
11-18-2007, 03:23 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
11-18-2007, 04:14 PM
|
#5
|
LQ Newbie
Registered: Nov 2007
Location: Antwerpen, Belgium
Distribution: Ubuntu 7.10
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
11-18-2007, 05:46 PM
|
#6
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 12:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|