LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   No write access with sudo (https://www.linuxquestions.org/questions/linux-desktop-74/no-write-access-with-sudo-758267/)

dellthinker 09-28-2009 11:55 AM

No write access with sudo
 
Hi all. I recently figured out how to get my sudoers file working so that i can use truecrypt. I can mount my encrypted volumes just fine no problem. However i cant write anything, its only read access. This is my sudoers file conf thus far.

Code:

User_Alias MAINTAINERS = user
Cmnd_Alias DEB = /usr/bin/truecrypt, /usr/bin/truecrypt --core-service
root ALL=(ALL) ALL
MAINTAINERS ALL = DEB

When i try to copy something to the volume i get this error

Quote:

Error "Access denied" while copying "/home/user...op/list.txt".
What do i need to add to my sudoers file so that i have write access? Thanx in advance!

j_jerry 09-28-2009 11:58 AM

isn't the volume a linux native?

dellthinker 09-28-2009 12:09 PM

Quote:

Originally Posted by j_jerry (Post 3699597)
isn't the volume a linux native?


No i made it on XP. Does anyone know what im missing in the sudoers file for write access?

j_jerry 09-28-2009 01:44 PM

if it's ntfs, you'd need ntfs-3g

Are you able to write on all other partitions?

Also try su root

dellthinker 09-28-2009 04:03 PM

Well i installed ntfs-3g and nothing changed. This doesnt make any sense because i had a truecrypt volume that i made on Windows and mounted/deleted/added files to on Linux(fedora). Could it be something with Debian?(my current distro)

j_jerry 09-28-2009 05:27 PM

Aren't you able to do it being root ?

dellthinker 09-29-2009 04:20 PM

[solved]
 
The problem was the volume was created in NTFS. So i made another with FAT and all was well. *phew* and i thought it had something to do with my distro :)


All times are GMT -5. The time now is 08:48 AM.