Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: A CGI script to list the files on my external harddrive

by davidj (Priest)
on Nov 14, 2006 at 13:05 UTC ( [id://583956]=note: print w/replies, xml ) Need Help??


in reply to Re^3: A CGI script to list the files on my external harddrive
in thread A CGI script to list the files on my external harddrive

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^4: A CGI script to list the files on my external harddrive

Replies are listed 'Best First'.
Re^5: A CGI script to list the files on my external harddrive
by tirwhan (Abbot) on Nov 14, 2006 at 16:48 UTC
    In Linux, (at least all the flavors I know), drives connected through a usb port are owned by root and cannot be changed

    This is incorrect. Take a look at the user option in the mount man page. You can make a drive user-mountable by putting something like the following into /etc/fstab:

    /dev/sdc1 /mnt/external ext3 user,noauto 0 0

    This will allow any user to mount the partition /dev/sdc1 under /mnt/external. The user who mounts the device will also own the mountpoint (i.e. directory).

    Not that this has anything to do with Perl, but it seemed pertinent information :-)


    All dogma is stupid.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://583956]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-18 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found