• Need to change permissions on USB drive
    3 replies, posted
I've got Ubuntu Server 10.10 running on this old workhorse. The actual OS itself is running fine and everything. But I'm trying set up the FTP server part, and I just got stuck. I need to share /media/usb/ (my USB drive). I've got a user setup for the ftp service so the USB drive is its home directory. I can read and download from the drive just fine, but I can't copy things to it. How can I change the permissions on this? Screencap: [img]http://i286.photobucket.com/albums/ll87/Demache/terminalgrab.png[/img]
chmod?
chown -R `whoami`:`whoami` /media/usb ? [editline]30th October 2010[/editline] Actually, that -R might not be a capital one. But doesn't matter, chown will tell you.
[QUOTE=esalaka;25728973]chown -R `whoami`:`whoami` /media/usb ? [editline]30th October 2010[/editline] Actually, that -R might not be a capital one. But doesn't matter, chown will tell you.[/QUOTE] Yeah, that's part of my problem. It keeps saying "Operation not permitted" even with sudo. [editline]29th October 2010[/editline] Fuck yeah I figured it out. Pretty simple fix actually. In the usbmount.conf file, I just added "dmask=0000,fmask=0000" under the FS_MOUNTOPTIONS. Not probably not the most secure, since any user can edit it now, but since its a USB drive for personal use anyway, I don't really care.
Sorry, you need to Log In to post a reply to this thread.