View previous topic :: View next topic |
Author |
Message |
VelVet n00b
Joined: 09 Feb 2005 Posts: 21 Location: Belgium
|
Posted: Fri Mar 11, 2005 12:24 pm Post subject: permissions ? |
|
|
Ok so here's the deal:
I've added an hd with lots of stuff on it (that i dont want to lose) to my linux system.
I can perfectly mount it and write to it on to a specific lvl then i get no permission
i've try'd chmod 0777 /home/wim/hdc1/*/*/*/*
but then i get argument list to long
so how can i set the premission for the whole disc including every folder and file?
thx alot |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Fri Mar 11, 2005 12:37 pm Post subject: |
|
|
What is the filesystem?
chmod -R 0777 /mnt/whatever should work |
|
Back to top |
|
|
VelVet n00b
Joined: 09 Feb 2005 Posts: 21 Location: Belgium
|
Posted: Fri Mar 11, 2005 12:45 pm Post subject: |
|
|
it's ntfs but i have support in my kernel |
|
Back to top |
|
|
VelVet n00b
Joined: 09 Feb 2005 Posts: 21 Location: Belgium
|
Posted: Fri Mar 11, 2005 12:47 pm Post subject: |
|
|
thx it works
one more thing how can i delete directory's ? |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Fri Mar 11, 2005 12:47 pm Post subject: |
|
|
Hmmm I've heard some horror stories about chmod on NTFS. I wouldn't try it. Probably better to mount the partition with the correct umask set |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Fri Mar 11, 2005 12:50 pm Post subject: |
|
|
If you're mounting NTFS in write mode, make sure you run fixntfs (from ntfsprogs) before booting back into windows. writing to ntfs will BREAK your ntfs in windows. deleting anything will also break it for windows.
you should be mounting it read only if possible with -o UMASK=0777 |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Fri Mar 11, 2005 12:50 pm Post subject: |
|
|
You could try captiventfs for full write support |
|
Back to top |
|
|
VelVet n00b
Joined: 09 Feb 2005 Posts: 21 Location: Belgium
|
Posted: Fri Mar 11, 2005 12:52 pm Post subject: |
|
|
i think that's no problem because there's no windows os on it just files that i want to copy over to my other hd that has reiserfs on it |
|
Back to top |
|
|
VelVet n00b
Joined: 09 Feb 2005 Posts: 21 Location: Belgium
|
Posted: Fri Mar 11, 2005 1:06 pm Post subject: |
|
|
thx for the help
i got it all to work |
|
Back to top |
|
|
|