[ubuntu-users] Second of several questions
Ted Hilts
thilts at mcsnet.ca
Thu Apr 3 22:55:35 UTC 2008
Rich
I used "mount" all by itself to see and compare each line.
I also used "ls -l /media/sde1/".
I did not attempt any mounting actions on the physical disks.
I assumed the contents of /etc/fstab would immediately make the updates
(you suggested) as a result of the single "mount" and the "ls" command.
So I did not shutdown and power back up. BTW, a week or so ago I had
tried altering the user and permissions on the files themselves using
chmod and chown and these changes also did not take. In all cases I used
"sudo" and then the commands.
Thanks -- Ted
Rich Rudnick wrote:
> Ted Hilts wrote:
>
>> Rich Rudnick wrote:
>>
>>> Ted Hilts wrote:
>>>
>>>
>>>
>>>> My problem is the ntfs hard drives. Anything I store on them under
>>>> Ubuntu operations looks like:
>>>> -rwxrwx--- 2 root plugdev 371386 2006-07-08 22:18 xinha-latest.zip
>>>>
>>>> "
>>>> When I do the mount command this is what I get:
>>>>
>>>> /dev/sde1 on /media/sde1 type fuseblk
>>>> (rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
>>>>
>>>>
>>>>
>>> If it's true that the way the ntfs partition mounting is the issue, then
>>> you should change the mounting options.
>>>
>>> For example, you could put the following in /etc/fstab
>>>
>>> /dev/sde1 /media/sde1 defaults,gid=ted,uid=ted,umask=007 0 1
>>>
>>> and then ted would be the owner. It would be
>>>
>>> -rwxrwx--- 2 ted ted 371386 2006-07-08 22:18 xinha-latest.zip
>>>
>>> and you could share them as the ted user.
>>>
>>> Alternatively, you could simply change the umask, giving all
>>> read/write/execute rights:
>>>
>>> /dev/sde1 /media/sde1 defaults,gid=046,umask=000 0 1
>>>
>>> and then it would be read/writeable by any user.
>>>
>>> -rwxrwxrwx 2 root plugdev 371386 2006-07-08 22:18 xinha-latest.zip
>>>
>>> I hope this helps
>>>
>>>
>>>
>> Rich Rudnick
>> Did not work, in fact nothing changed. The same user and permission
>> settings remain and were not altered in any way by putting the changes
>> you suggested into /etc/fstab. At least there was no change in the mount
>> command based on the changes you suggested in the /etc/fstab file.
>>
>> I used "sudo gedit /etc/fstab" to make the changes.
>> I used the mount command to examine the outcome.
>> I used "sudo gedit /etc/fstab" to return the original settings.
>>
>>
>
> Ted,
>
> What mount command did you use? You should only have had to say
>
> sudo mount /media/sde1
>
> since the options for the mount command would be found in the altered fstab.
>
> Rich
>
>
Rich
I used "mount" all by itself to see and compare each line.
I also used "ls -l /media/sde1/".
I did not attempt any mounting actions on the physical disks.
I assumed the contents of /etc/fstab would immediately make the updates
(you suggested) as a result of the single "mount" and the "ls" command.
So I did not shutdown and power back up. BTW, a week or so ago I had
tried altering the user and permissions on the files themselves using
chmod and chown and these changes also did not take. In all cases I used
"sudo" and then the commands.
Thanks -- Ted
More information about the ubuntu-users
mailing list