Choque Posted September 22, 2012 Share Posted September 22, 2012 Hey there, I've recently upgraded my server from 4.7 to 5.0-rc5. After that I ran the "New Permissions" Util. Now to my problem. I got several user shares which span over my 3 data drives Movies TV Shows Music Pictures Downloads pyLoad I can access all of them without a problem, I just can't access the "Downloads" one. Also, I'm not able to access my flash drive share. I've set "Local Master" to Yes, and checked the rest of the SMB settings. Everything looks fine. I also did "ls -al ../mnt/user" via telnet, to check the permissions, which looked like this total 15 drwxrwx--- 1 nobody users 232 2012-05-27 14:26 ./ drwxr-xr-x 6 root root 0 2012-09-22 10:25 ../ drwxrwx--- 1 nobody users 48 2012-09-13 23:08 Downloads/ drwxrwx--- 1 nobody users 11424 2012-09-20 22:36 Movies/ drwxrwx--- 1 nobody users 2808 2012-09-18 16:17 Music/ drwxrwx--- 1 nobody users 72 2011-09-25 15:41 Pictures/ drwxrwx--- 1 nobody users 1184 2012-09-16 19:05 TV\ Shows/ drwxrwx--- 1 nobody users 496 2012-07-28 13:18 pyLoad/ So right now I pretty much have no clue why all shares work just fine except the "Downloads" one and the one regarding my flash drive. Oh, the error msg I get looks like this Sorry about the fact that it's german Quote Link to comment
Joe L. Posted September 22, 2012 Share Posted September 22, 2012 what do you see for these commands? ls -l /mnt/boot and mount Have you tried to re-run the permissions script? You would specifically need to do this if you wrote files on the downloads share as a user other than "nobody" You can do this on the command line by typing: newperms /mnt/user/Downloads Quote Link to comment
Choque Posted September 22, 2012 Author Share Posted September 22, 2012 ls -l /mnt/boot /bin/ls: cannot access /mnt/boot: No such file or directory mount proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) /dev/sda1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed) /dev/md1 on /mnt/disk1 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md2 on /mnt/disk2 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) shfs on /mnt/user type fuse.shfs (rw,nosuid,nodev,noatime,allow_other,default_permissions) I tried to re-run the script and also did the newperms /mnt/user/Downloads thing, but still no change Quote Link to comment
Joe L. Posted September 22, 2012 Share Posted September 22, 2012 ls -l /mnt/boot /bin/ls: cannot access /mnt/boot: No such file or directory mount proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) /dev/sda1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed) /dev/md1 on /mnt/disk1 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md2 on /mnt/disk2 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) shfs on /mnt/user type fuse.shfs (rw,nosuid,nodev,noatime,allow_other,default_permissions) I tried to re-run the script and also did the newperms /mnt/user/Downloads thing, but still no change my mistake... ls -al /boot not /mnt/boot Quote Link to comment
Choque Posted September 23, 2012 Author Share Posted September 23, 2012 ls -al /boot total 34860 drwxrwxrwx 9 root root 4096 1970-01-01 01:00 ./ drwxr-xr-x 16 root root 0 2012-09-22 10:25 ../ -rwxrwxrwx 1 root root 2159760 2012-06-23 15:10 bzimage* -rwxrwxrwx 1 root root 32985152 2012-06-23 15:18 bzroot* drwxrwxrwx 3 root root 4096 2012-09-22 10:25 config/ drwxrwxrwx 3 root root 4096 2011-04-24 11:05 custom/ -r-xr-xr-x 1 root root 13639 2011-04-17 22:14 ldlinux.sys* -rwxrwxrwx 1 root root 5162 2011-01-24 18:21 license.txt* drwxrwxrwx 2 root root 4096 2012-09-22 10:25 logs/ -rwxrwxrwx 1 root root 830 2011-01-24 18:21 make_bootable.bat* -rwxrwxrwx 1 root root 165080 2011-01-24 18:21 memtest* -rwxrwxrwx 1 root root 33404 2011-01-24 18:21 menu.c32* drwxrwxrwx 3 root root 8192 2011-05-27 22:28 packages/ -rwxrwxrwx 1 root root 83907 2012-05-12 13:46 preclear_disk.sh* drwxrwxrwx 2 root root 4096 2012-05-13 16:22 preclear_reports/ -rwxrwxrwx 1 root root 67030 2011-04-23 11:28 preclear_results.txt* -rwxrwxrwx 1 root root 6247 2011-01-24 18:21 readme.txt* drwxrwxrwx 2 root root 4096 2011-05-27 22:29 smarthistory/ -rwxrwxrwx 1 root root 183 2011-01-24 18:21 syslinux.cfg* -rwxrwxrwx 1 root root 27136 2011-01-24 18:21 syslinux.exe* -rwxrwxrwx 1 root root 64327 2012-09-22 09:45 syslog.txt* drwxrwxrwx 4 root root 16384 2011-04-21 17:58 unmenu/ Quote Link to comment
Joe L. Posted September 23, 2012 Share Posted September 23, 2012 ls -al /boot total 34860 drwxrwxrwx 9 root root 4096 1970-01-01 01:00 ./ drwxr-xr-x 16 root root 0 2012-09-22 10:25 ../ -rwxrwxrwx 1 root root 2159760 2012-06-23 15:10 bzimage* -rwxrwxrwx 1 root root 32985152 2012-06-23 15:18 bzroot* drwxrwxrwx 3 root root 4096 2012-09-22 10:25 config/ drwxrwxrwx 3 root root 4096 2011-04-24 11:05 custom/ -r-xr-xr-x 1 root root 13639 2011-04-17 22:14 ldlinux.sys* -rwxrwxrwx 1 root root 5162 2011-01-24 18:21 license.txt* drwxrwxrwx 2 root root 4096 2012-09-22 10:25 logs/ -rwxrwxrwx 1 root root 830 2011-01-24 18:21 make_bootable.bat* -rwxrwxrwx 1 root root 165080 2011-01-24 18:21 memtest* -rwxrwxrwx 1 root root 33404 2011-01-24 18:21 menu.c32* drwxrwxrwx 3 root root 8192 2011-05-27 22:28 packages/ -rwxrwxrwx 1 root root 83907 2012-05-12 13:46 preclear_disk.sh* drwxrwxrwx 2 root root 4096 2012-05-13 16:22 preclear_reports/ -rwxrwxrwx 1 root root 67030 2011-04-23 11:28 preclear_results.txt* -rwxrwxrwx 1 root root 6247 2011-01-24 18:21 readme.txt* drwxrwxrwx 2 root root 4096 2011-05-27 22:29 smarthistory/ -rwxrwxrwx 1 root root 183 2011-01-24 18:21 syslinux.cfg* -rwxrwxrwx 1 root root 27136 2011-01-24 18:21 syslinux.exe* -rwxrwxrwx 1 root root 64327 2012-09-22 09:45 syslog.txt* drwxrwxrwx 4 root root 16384 2011-04-21 17:58 unmenu/ Ok, one more check. The permissions on /boot look normal. What do you see with testparm -s Quote Link to comment
Choque Posted September 23, 2012 Author Share Posted September 23, 2012 testparm -s Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) WARNING: The "null passwords" option is deprecated Can't find include file /boot/config/smb-extra.conf Processing section "" Processing section "[Downloads]" Processing section "[Movies]" Processing section "[Music]" Processing section "[Pictures]" Processing section "[TV Shows]" Loaded services file OK. Server role: ROLE_STANDALONE [global] server string = Media server map to guest = Bad User null passwords = Yes passdb backend = smbpasswd syslog = 0 syslog only = Yes max protocol = SMB2 unix extensions = No load printers = No printcap name = /dev/null disable spoolss = Yes show add printer wizard = No idmap config * : backend = tdb invalid users = root create mask = 0770 directory mask = 0770 use sendfile = Yes map archive = No wide links = Yes comment = Flash share path = /boot read only = No create mask = 0777 directory mask = 0777 guest ok = Yes [Downloads] path = /mnt/user/Downloads read only = No guest ok = Yes [Movies] path = /mnt/user/Movies read only = No guest ok = Yes browseable = No [Music] path = /mnt/user/Music read only = No guest ok = Yes browseable = No [Pictures] path = /mnt/user/Pictures read only = No guest ok = Yes browseable = No [TV Shows] path = /mnt/user/TV Shows read only = No guest ok = Yes browseable = No €dit: It works! After I ran the testparm -s command I tried to access the two shares again and now it works without a problem. Thank you so much, Joe! Quote Link to comment
kingkonejito Posted October 2, 2012 Share Posted October 2, 2012 I have done everything you told this guy to do in this post and I still cannot access my flash drive in windows explorer with my array started or stopped. All my other shares work fine. Any suggestions? Only thing I can think of that I am doing differently is that I do not have any users. Quote Link to comment
kingkonejito Posted October 4, 2012 Share Posted October 4, 2012 Nevermind, it started working again. All I did was delete Unmenu, not sure if a package or something in there was messing things up but yeah. Sorry for the false alarm. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.