Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: floppy permission denied, cannot use the floppy as dsl user , only< Next Oldest | Next Newest >
roberts Offline

Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: April 26 2007,16:40 QUOTE

The mount_common.lua in /etc/init.d/ which is called by mount.lua does call the mount command via sudo. Therefore the issue you raised is valid.

To avoid this use emelfm or shell as regular user then no problems mounting, writing, or un-mounting the floppy.
Back to top
Profile PM WEB 
mikshaw Offline

Group: Members
Posts: 4856
Joined: July 2004
Posted: April 26 2007,17:18 QUOTE

The "user" option is valid and doesn't necessarily need to be changed. It allows an ordinary user to mount the device, and take ownership of it. The "users" option is similar, but allows any user to umount the device regardless of who mounted it. I think the "rw" option is the default.

If you want to modify fstab, I'd recommend adding uid=1001. I can't say from experience that this will work, but my guess is that it will allow you to mount a disk using the mount tool but still have it be owned by dsl.

As far as preventing truncation, I don't know of any way to prevent fat16 from doing this. However, if you require fat16 you might consider archiving your files before saving them to the disk. This way you can simply extract them onto the target filesystem without losing the original filenames. Archiving with tar will also allow you to retain file permissions/ownership.

Back to top
Profile PM WEB 
6 replies since April 25 2007,15:12 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: floppy permission denied

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code