- default permission change
> check permission
cd /data
ls -alh
> change permission (this will change all the prmission)
(be carefull)
: sudo find [PATH] -type [d|f] -exec chmod 755 {} \;
: change all sub directory with perm. 755 == rwxr-xr-x
find . -type d -exec chmod -R 755 {} \;
find . -type f -exec chmod -R 644 {} \;
755 -> -rwxr-xr-x ; directory default
644 -> -rw-r--r-- ; file default
> mount permisiion
sudo chown (First_Account).(First_Account) /data
; /media is ubuntu linux default auto mount directory
sudo chown (First_Account).(First_Account) /media
- fstab option
> assign user
UUID=123.. /media/mnt_point ntfs defaults 0 0
> Add to it the umask, uid and gid masks like this, be sureto change uid, gid
UUID=123.. /media/mnt_point ntfs defaults,umask=007,uid=1000,gid=1000 0 0
Subscribe to:
Post Comments (Atom)
Pranten
Pranten
-
* Cinnamon shortcut The Complete List Of Linux Mint 18 Keyboard Shortcuts For Cinnamon by Gary Newell Updated March 23, 2017 1. Toggle...
-
* postgres - pgmodelear ** new version > download: https://github.com/pgmodeler/pgmodeler sudo apt-get install qt-sdk sudo apt-get ins...
-
how to connect postgres in openoffice --> https://wiki.openoffice.org/wiki/Base/connectivity/PostgreSQL Base/connectivity/PostgreS...
No comments:
Post a Comment