Bash: Changing Owner of a folder

 

If you want to change the user owning this file or directory (folder), you will have to use the command chown. For instance, if you run

sudo chown username: myfolder

the user owning myfolder will be username. Then you can execute

sudo chmod u+w myfolder

to add the write permission to the username user.

But if you want to add this user to the group associated with "myfolder", you can run

sudo usermod -a -G groupname username

and then execute

sudo chmod g+w myfolder

to add the write permission to the group.

Tags

Linux: rdesktop

redesktop

/usr/local/bin/rdesktop -d $domain -u $username -g 1270x972 -z -r sound:local -P -x l $hostname

Params

-r sound:local sound:remote

-d $domain

-u $username

-g 1270x972

 

-P

-x

l $hostname

Tags

Mint: Setting up Sharing

Here's some steps to work with shares in Linux Mint

Create Shares on Server

m = /home/uc/drives/m
o = /home/uc/drives/o
cam = /home/uc/drives/cam

 

Samba Create Share

sudo touch /etc/libuser.conf ( required for samba config applet
sudo system-config-samba

 

Subscribe to