i received the message: adding read ACL for uid 1000 to '/media/david' failed
I'm stumped what command must i use in ubuntu please.
I feel embarassed about this as i read wiki for commands but exited none the wiser! I guess this is rather basic but i''m stumped! David. |
What command(s) did you execute and where and how this error is generating? Please explain it little more, so we could help you.
|
no command given
in fact i to get this message i did not enter any command. I simply go to my home folder where all partitions are listed and click any one of them and u get this error.
i suppose there is a system error in ubuntu and it is issuing some command. If i use open suse (also on the same harddisk) it also sees all of the partitions and there if i click on them it automatically mounts the partition and presents the contents. I suppose ubuntu is trying to do the same but using the wrong command. I am unable to say what command , i haVE TRIED MYSELF SETFACL AND CHMOD BUT I'M NOT AN EXPERT OR KNOWLEDEABLE WITH THESE COMMANDS AND THEIR DESCRIPTION IN WIKI LEAVES ME COLD. i READ SOMEWHERE THAT A SIMILAR PROBLEM WAS REPORTED IN SLACKWARE. |
What does it say?
Code:
~$ df -h |
info requested
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 79G 2.9G 72G 4% / udev 1.9G 4.0K 1.9G 1% /dev tmpfs 757M 860K 756M 1% /run none 5.0M 0 5.0M 0% /run/lock none 1.9G 152K 1.9G 1% /run/shm none 100M 40K 100M 1% /run/user # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda5 during installation UUID=e087b5ed-bcc7-416c-a1fa-4c80bb3a1082 / ext2 errors=remount-ro 0 1 # swap was on /dev/sda8 during installation UUID=76e9ae0e-167d-46a6-ae43-a982d9e7c301 none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 ----hoping this throws some light on it! |
this request is still not answered - i am desperate to resolve it
please help Dave. |
Try:
Code:
~$ mkdir /media/david |
I think you need to check if acls are enabled on that partition eg
Code:
tune2fs -l /dev/sda1 | grep options |
Are you trying to mount an external HDD to /media/david?
Can you post the output "sudo fdisk -l" command? If External HDD is formatted using NTFS filesystem then you need ntfs-3g package to mount NTFS partitions. So check whether that package is installed or not using Code:
sudo dpkg -l | grep ntfs-3g Code:
sudo apt-get update Code:
sudo mount /dev/sdb1 /media/david -o uid=1000,gid=1000,dmask=027,fmask=027 Here you no need either extra ACLs or chmod/chown commands to give read/write permissions to uid=1000, From above command by default the user & group who is having uid & gid as 1000 will get read, write & execute and read & execute permissions respectively to /media/david folder including all sub folders and others won't be having any permission on /media/david. You can change permissions according to your needs by calculating with umask i.e Code:
7 7 7 ---> full permission for all Code:
sudo dpkg -l | grep acl Code:
sudo apt-get install acl Code:
UUID=e087b5ed-bcc7-416c-a1fa-4c80bb3a1082 / ext2 errors=remount-ro,acl 0 1 Code:
mount -o remount / Code:
mount | grep acl Code:
setfacl -m u:username:rwx /path |
All times are GMT -5. The time now is 12:50 AM. |