How do I gain permission to write into certain folders. While I'm in root debian still won't allow me to edit a file.
-
proxima_centauri Notebook Consultant
Exactly what file are you trying to edit. If you have root privileges you should be able to edit almost any file.
-
Hi,
proxima_centauri is right, you should be able to edit anything at root.
As for giving permissions to your normal user, you can
a) change file permissions with chmod (view man chmod for details) or
b) change the owner/group of that file for yourself/one of your groups with chown/chgrp (view man chown and man chgrp).
Btw, dont know about your distro, but i guess some X configs won't allow you to open gui based editors while on root account. If that is the case, either open the editor with sudo at normal account and load the file or edit it with vi/nano at root. -
maybe he's talking about editing files in ntfs?
-
Sorry about not replying earlier, but I found the solution. I was trying to copy a file through the gui and not the command line. After being logged in root and using the command line everything works.
It seems I have made a beginners mistake, so far learning Linux been really fun. -
i am wondering how to mount my ext4 drives in windows
I am not sure it can be done yet -
proxima_centauri Notebook Consultant
v1k1ng1001,
As far as I know, no - it cannot be done.
It will be a while before the fs-driver folks get ext4 working.
Best to stick with an NTFS or FAT32 drive to share files between Linux & Windows -
Yeah, in the past I've used fs-driver to mount ext3. Maybe I'll carve out another ext3 partition for sharing.
-
Make sure the drive isn't mounted read-only. The only reason that that root couldn't write to a file is because the filesystem is read-only.
Write Permission
Discussion in 'Linux Compatibility and Software' started by graycolor, Apr 26, 2009.