View Full Version : [ubuntu] Change permission on a folder
January 26th, 2009, 04:02 AM
Hi, I find this to be weird, maybe you can help me out:
I'm trying to give a folder 777-permission. In BSD, I go "chmod 777 folder_name", and that was it.
Now this happens on my Ubuntu station:
TheZumm$ chmod -vR 777 folder_name
mode of `folder_name' changed to 0777 (rwxrwxrwx)
drwxr-xr-x 3 TheZumm TheZumm 64K 2009-01-26 01:07 folder_name/
What is this about? Why doesn't it change the folder permissions?
January 26th, 2009, 04:12 AM
What filesystem is that folder_name?
sudo fdisk -l
January 26th, 2009, 04:26 AM
Worst case scenario: FAT32... Aber wie könnte es damit zu tun haben?
January 26th, 2009, 06:15 AM
What you are seeing is a compatibility fudge. The permissions don't exist on FAT but for compaitibility reasons Ubuntu applies virtual permissions.
January 26th, 2009, 11:54 PM
So, does that mean I do have these permissions or can't I get them? I need another user to write into this folder...
January 27th, 2009, 12:08 AM
Did you mount that partition (folder_name) through /etc/fstab or did you mount it by hand, from a terminal?
January 27th, 2009, 06:26 AM
That's another issue that's been bothering me: In my fstab it says
/dev/sda5 /home/TheZumm/mount_point vfat user,auto,rw 0 0
But after I booted, owner of mount_point is root and I therefore do not have write permission. When I remount the disk (sudo umount mountpoint && mount mountpoint) I'm the owner and have write permission.
It seems like I messed something up here. Is my understanding of mounting disks that wrong? :-(
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.