geffers
Posts: 401
Joined: Sun Jun 24, 2012 6:25 am
Location: UK
Contact: Website

SU password

Thu May 02, 2013 7:32 pm

I've been having problems with changing file permissions.

sudo chmod doesn't give any errpr messages but doesn't change any file permissions.

If I enter su the raspberry password doesn't work, is there a separate one for super user.

Geffers

timmoore46
Posts: 266
Joined: Tue Jul 17, 2012 4:36 pm

Re: SU password

Thu May 02, 2013 9:04 pm

sudo chmod a+x filename

works for me ok, plus

./filename to get it to execute

discussion on root password here:-

su does it for me.

http://www.raspberrypi.org/phpBB3/viewt ... 63&t=42459


:D

Tim

User avatar
jojopi
Posts: 3233
Joined: Tue Oct 11, 2011 8:38 pm

Re: SU password

Thu May 02, 2013 9:21 pm

geffers wrote:sudo chmod doesn't give any errpr messages but doesn't change any file permissions.
At a guess, you are attempting this on a FAT (or NTFS) filesystem, which is not capable of storing POSIX file permissions.

The permissions on these filesystems are faked based on the umask= (or fmask= and dmask=) mount options.

If you are trying to grant write access, then you probably do not want to change the permissions anyway, but instead change the ownership with the mount option uid=pi.

Return to “General discussion”