[Leaplist] Changing HDA5 permissions.
John Simpson
jms1 at jms1.net
Sat Aug 25 13:00:27 EDT 2007
On 2007-08-25, at 0743, William A. Mahaffey III wrote:
> Andy Lino wrote:
>
>> I am running Ubuntu 7.04.
>> I have a drive HDA5 that I would like to share on my network. When
>> I right click on the properties tab for the drive it shows ROOT
>> and it is greyed out. I see the computer in the GUI under Places
>> >> Network.
>>
>> I have edited the FSTAB file to show HDA5 as gid=disk,umask=0000 0 0
>> I have done sudo chmod 777 /media/hda5
>> I have done sudo chown andy:andy /media/hda5
>>
>> None of the above has worked.
>>
>> Does anyone have a suggestion?
>
> Did you unmount the drive & *then* check the permissions of the
> mount-point ? They need to be OK *before* the HDD is mounted
> there ....
actually, the permissions of the directory over which the filesystem
is mounted don't matter, once the disk is mounted. and in fact the
underlying directory probably SHOULDN'T be writable to anybody other
than root, just on the off chance that somebody maps it while the
filesystem isn't mounted, they won't accidentally write files to the
underlying directory which will mysteriously "disappear" when the
filesystem IS later mounted.
IN THEORY what he's done should work, however you need to check the
permissions of the root inode of the filesystem itself. the "chmod"
and "chown" commands should probably be run on "/media/hda5/."
instead of just "/media/hda5", just to be sure you're hitting the
root inode within the filesystem itself.
# cd /media/hda5
# ls -ld .
drwxrwxrwx 12 any andy 4096 Aug 24 21:08 .
WITH THAT SAID... your original question states "None of the above
has worked." how do you define "worked"? what is your goal- to make
the root directory world-writable, or to "share" it so that other
machines can mount it? what sharing protocol are you using, and what
settings have you done to try and make it work?
and most importantly, what are you expecting to see, and what are you
actually seeing which is different from what you expect?
===
let me also recommend one of my favourite web pages in the world...
not specifically for you, but for anybody who ever has to ask
questions on a technical mailing list, web forum, usenet group, or
similar forum...
http://www.catb.org/~esr/faqs/smart-questions.html
personally i think this page should be required reading for anybody
who wants to use the internet, but that's just me...
----------------------------------------------------------------
| John M. Simpson --- KG4ZOW --- Programmer At Large |
| http://www.jms1.net/ <jms1 at jms1.net> |
----------------------------------------------------------------
| http://video.google.com/videoplay?docid=-1656880303867390173 |
----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.leap-cf.org/pipermail/leaplist/attachments/20070825/4954990b/PGP.bin
More information about the Leaplist
mailing list