You are not logged in.
fstab:
/dev/sdb1 /home/vu/11 ext3 rw,user 0 1
cat /proc/mounts
rootfs / rootfs rw 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
/sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
/dev /dev devtmpfs rw,nosuid,relatime,size=1030692k,nr_inodes=218496,mode=755 0 0
/run /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
/dev/sda2 / ext3 rw,relatime,user_xattr,acl,barrier=1,nodelalloc,data=ordered 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,relatime 0 0
/dev/sda1 /home ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sda3 /var ext3 rw,relatime,user_xattr,acl,barrier=1,nodelalloc,data=ordered 0 0
/dev/sda6 /boot ext3 rw,relatime,user_xattr,acl,barrier=1,nodelalloc,data=ordered 0 0
/dev/sdb1 /home/vu/11 ext3 rw,nosuid,nodev,noexec,relatime,user_xattr,barrier=1,nodelalloc,data=ordered 0 0
So i cant write anything to sdb6. Only if i am root. Can't understand
*sorry, sdb1
Last edited by Vufer (2012-03-15 20:20:59)
Offline
user defines who can mount it, not who can write to it.
user allow a user to mount
user Allow an ordinary user to mount the filesystem. The name of the mounting user is written to mtab so
that he can unmount the filesystem again. This option implies the options noexec, nosuid, and nodev
(unless overridden by subsequent options, as in the option line user,exec,dev,suid).
Offline
did you mount it as root?
ls -l /home/vu/
please
Offline
user defines who can mount it, not who can write to it.
fstab(5) wrote:user allow a user to mount
mount(8) wrote:user Allow an ordinary user to mount the filesystem. The name of the mounting user is written to mtab so
that he can unmount the filesystem again. This option implies the options noexec, nosuid, and nodev
(unless overridden by subsequent options, as in the option line user,exec,dev,suid).
i know it, but.. it second day i'am trying
Offline
did you mount it as root?
ls -l /home/vu/
please
-rw-r--r-- 1 vu users 446237 марта 8 22:30 0_38006_c0959088_XXXL.jpe
-rw-r--r-- 1 vu users 343769 марта 10 19:46 0_e8973_5d9e2d29_XXXL.jpe
drwxr-xr-x 4 root root 4096 марта 15 22:44 11
drwxr-xr-x 3 vu users 4096 марта 9 09:04 core
drwxr-xr-x 2 vu users 4096 марта 5 22:41 Desktop
drwxr-xr-x 6 vu users 4096 марта 8 00:15 Видео
drwxr-xr-x 7 vu adbusers 4096 марта 14 22:31 Документы
drwxr-xr-x 9 vu adbusers 4096 марта 13 21:16 Загрузки
drwxrwxr-x 11 vu adbusers 4096 марта 12 16:54 Книги
drwxr-xr-x 17 vu adbusers 4096 янв. 20 23:41 Музыка
Offline
http://www.tuxfiles.org/linuxhelp/fstab.html
user and nouser These are very useful options. The user option allows normal users to mount the device, whereas nouser lets only the root to mount the device. nouser is the default, which is a major cause of headache for new Linux users. If you're not able to mount your cdrom, floppy, Windows partition, or something else as a normal user, add the user option into /etc/fstab.
Try sudo umount /home/vu/11/
and then mount it as you
Offline
http://www.tuxfiles.org/linuxhelp/fstab.html
user and nouser These are very useful options. The user option allows normal users to mount the device, whereas nouser lets only the root to mount the device. nouser is the default, which is a major cause of headache for new Linux users. If you're not able to mount your cdrom, floppy, Windows partition, or something else as a normal user, add the user option into /etc/fstab.
Try sudo umount /home/vu/11/
and then mount it as you
mounted, but... only can read
Offline
Do you want this to be just owned by yourself or any user with access to the system?
if just you, a work around would be sudo chown -R vu:users /home/vu/11
if everyone add the sticky bit to the directory
Offline
It sounds like you are mounted ok, but your user just doesn't have write access to that folder.
You probably want to change either the ownership of the folder and all contents to your user, or the permissions to allow users other than the owner to write. Both of these can be done graphically in most file managers if you launch your file manager as root...
Offline
hm... sudo chown -R vu:users /home/vu/11 - and all ok, but...
this is new clear disk in ext3. i mount ntfs partitions to folders owned by root and can read and write to it from user.
Is it so critical to change owner of mount folder before mounting if some linux filesystem used?
Offline
Try this for troubleshooting:
As root, create a folder in your partition:
# cd /home/vu/11
# mkdir test
Then change the ownership of that folder to your regular user.
Can you now write to the test folder as regular user?
Offline
yes, now it works fine, after chown to folder "11".
thanks for helping, and sorry for my english
Offline